mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update UserService.php
This commit is contained in:
parent
57a575f1f1
commit
61cd4e9d2d
@ -132,7 +132,7 @@ class UserService extends Service
|
||||
}
|
||||
if (empty($data) || empty($data['uid'])) {
|
||||
return [0, '请重新登录,登录认证无效', 0, 0];
|
||||
} elseif ($data['time'] < time()) {
|
||||
} elseif ($token !== 'token' && $data['time'] < time()) {
|
||||
return [0, '请重新登录,登录认证失效', 0, 0];
|
||||
} elseif ($token !== 'token' && $data['tokenv'] !== $this->_buildTokenVerify()) {
|
||||
return [0, '请重新登录,客户端已更换', 0, 0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user