Commit 10751326 authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 7bd1ecd2
...@@ -51,10 +51,10 @@ trait Helpers ...@@ -51,10 +51,10 @@ trait Helpers
} }
$dataJson = base64_decode($dataStr); $dataJson = base64_decode($dataStr);
$data = json_decode($dataJson, 1); $data = json_decode($dataJson, 1);
if($data['expire'] < time()) /*if($data['expire'] < time())
{ {
throw new UnauthorizedHttpException("token expired","身份验证失效,请重新登录"); throw new UnauthorizedHttpException("token expired","身份验证失效,请重新登录");
} }*/
return $data; return $data;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment