feat : wx login

This commit is contained in:
2024-11-29 16:47:24 +08:00
parent 358ba98c88
commit 6f29f811b5

View File

@@ -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();