6
0
Fork 0
release
李静 2022-03-10 17:21:20 +08:00
parent c05dff540e
commit aaecfccb78
1 changed files with 3 additions and 1 deletions

View File

@ -196,7 +196,9 @@ class SocialiteAuthController extends Controller
try {
$decryptedData = $app->encryptor->decryptData($session, $input['iv'], $input['data']);
} catch (\EasyWeChat\Kernel\Exceptions\DecryptException $e) {
return $this->error('系统错误, 请重新进入小程序');
report($e);
throw new BizException('系统错误, 请重新进入小程序');
}
$phone = data_get($decryptedData, 'phoneNumber');
//解密成功,$user