|
|
@@ -167,16 +167,13 @@ class MasterWorkerRegisterLogic extends BaseLogic
|
|
|
$registerInfo = MasterWorkerRegister::findOrEmpty($params['id'])->toArray();
|
|
|
if ($registerInfo && $registerInfo['worker_id']) {
|
|
|
$account = MasterWorker::where('id',$registerInfo['worker_id'])->value('account');
|
|
|
- $openid = MasterWorkerAuth::where('worker_id',$registerInfo['worker_id'])->value('openid');
|
|
|
event('Notice', [
|
|
|
- 'scene_id' => NoticeEnum::ACCOUNT_PASSWORD,
|
|
|
+ 'scene_id' => 107,
|
|
|
'params' => [
|
|
|
'user_id' => $registerInfo['worker_id'],
|
|
|
- 'worker_id' => $registerInfo['worker_id'],
|
|
|
'mobile' => $registerInfo['mobile'],
|
|
|
'account' => $account,
|
|
|
'password' => $registerInfo['mobile'],
|
|
|
- 'openid' => $openid,
|
|
|
]
|
|
|
]);
|
|
|
return true;
|