|
...
|
...
|
@@ -235,9 +235,10 @@ class LoginController extends BaseController |
|
|
|
* @time :2023/8/24 17:37
|
|
|
|
*/
|
|
|
|
public function globalSo_v6_login(UserLoginLogic $logic){
|
|
|
|
$common = new Common();
|
|
|
|
$arr = $common->decrypt(urldecode($this->param['token']));
|
|
|
|
if(empty($arr)){
|
|
|
|
try {
|
|
|
|
$common = new Common();
|
|
|
|
$arr = $common->decrypt(urldecode($this->param['token']));
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->response('非法请求!',Code::USER_ERROR);
|
|
|
|
}
|
|
|
|
if (empty($arr['timestamp']) || time() - $arr['timestamp'] > 60) {
|
...
|
...
|
|