mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 15:31:03 +00:00
【程序目录】修改手机号同时修改登录账号为手机号码
This commit is contained in:
parent
a1f79803ab
commit
056e564931
@ -399,6 +399,7 @@ class LoginServices extends BaseServices
|
||||
}
|
||||
$data = [];
|
||||
$data['phone'] = $phone;
|
||||
$data['account'] = $phone;
|
||||
if ($this->dao->update($userInfo['uid'], $data, 'uid'))
|
||||
return ['msg' => '修改成功', 'data' => []];
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user