feat : wx login

This commit is contained in:
2024-11-27 15:27:38 +08:00
parent 820b8d90dd
commit 237fed9fe6
3 changed files with 10 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class BindPhoneByWxService extends BaseService
{
$this->checkBindPhone($this->userId);
$wxPhone = $this->jsCodeGetPhoneNumber($this->request->input('code'));
$wxPhone = $this->jsCodeGetPhoneNumber($this->request->input('js_code'));
if (empty($wxPhone['phone_info']['purePhoneNumber'])) throw new ErrException('微信手机号查询失败,请联系人工客服处理');