Commit 71fa1922 authored by hujun's avatar hujun

注释文字修改

parent c24f9788
......@@ -225,7 +225,7 @@ class Basic extends Controller
}
$time = time();
//登录有效期为2小时
//登录有效期判断
if (($time - $this->lastLoginTime) > 36000) {
if ($this->request->isAjax()) {
echo json_encode(array( "code" => "101", "msg" => "登录失效,请重新登录", "data" => [], "type" => "json" ));exit;
......
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