更新用户绑定关系
This commit is contained in:
parent
81e7bce99f
commit
f33290b57d
|
@ -121,16 +121,13 @@ class UserLogic extends BaseLogic
|
||||||
'app_id' => $params['app_id'],
|
'app_id' => $params['app_id'],
|
||||||
'user_id' => $userinfo['user_id'],
|
'user_id' => $userinfo['user_id'],
|
||||||
'system_user_id' => $params['system_user_id'],
|
'system_user_id' => $params['system_user_id'],
|
||||||
'phone' => $userinfo['phone'],
|
'phone' => $userinfo['phone'],
|
||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
'update_time' => time()
|
'update_time' => time()
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
SystemUser::where('id', $systemUser['id'])->update([
|
SystemUser::where('id', $systemUser['id'])->update([
|
||||||
'app_id' => $params['app_id'],
|
'phone' => $userinfo['phone'],
|
||||||
'user_id' => $userinfo['user_id'],
|
|
||||||
'system_user_id' => $params['system_user_id'],
|
|
||||||
'phone' => $userinfo['phone'],
|
|
||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
'update_time' => time()
|
'update_time' => time()
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue