feat : wx login
This commit is contained in:
@@ -37,7 +37,7 @@ class BindPhoneByWxService extends BaseService
|
||||
|
||||
$userInfo = $this->getUserInfo($this->userId);
|
||||
|
||||
$userInfo->phone = $wxPhone['phone_info']['purePhoneNumber'];
|
||||
$userInfo->mobile = $wxPhone['phone_info']['purePhoneNumber'];
|
||||
if (!$userInfo->save()) throw new ErrException('绑定手机号失败,请联系人工客服处理');
|
||||
|
||||
return $this->return->success();
|
||||
|
||||
Reference in New Issue
Block a user