kphcdr 1 سال پیش
والد
کامیت
0f3c62fc56
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Modules/Mini/Services/WechatService.php

+ 1 - 1
app/Modules/Mini/Services/WechatService.php

@@ -60,7 +60,7 @@ class WechatService extends BaseService
         if (is_null($user)) {
             throw new ClientException("need Authentication");
         }
-        if ($phone = Arr::get($data, "phone")) {
+        if ($phone = Arr::get($data, "purePhoneNumber")) {
             $user->phone = $phone;
             $user->save();
         }