app未授权友好提示
This commit is contained in:
parent
eecc48ad9a
commit
448d1a301a
@ -226,7 +226,7 @@ class LoginLogic extends BaseLogic
|
|||||||
$decodedArray = json_decode(json_encode($decoded), true);
|
$decodedArray = json_decode(json_encode($decoded), true);
|
||||||
$jwtData = $decodedArray['data'] ?? [];
|
$jwtData = $decodedArray['data'] ?? [];
|
||||||
if (empty($jwtData['uid']) || empty($jwtData['phone'])) {
|
if (empty($jwtData['uid']) || empty($jwtData['phone'])) {
|
||||||
self::setError('解析数据缺少必要参数');
|
self::setError('当前账号未授权,请手动登录');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$where = ['account|mobile' => $jwtData['phone']];
|
$where = ['account|mobile' => $jwtData['phone']];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user