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