You've already forked guangan
过期状态
This commit is contained in:
@ -7,6 +7,9 @@ use plugin\inspection\controller\api\Auth;
|
||||
class Staff extends Auth
|
||||
{
|
||||
public function check() {
|
||||
if (!$this->tokenInfo) {
|
||||
$this->error('请重新登录', [], 401);
|
||||
}
|
||||
$this->success('登录成功', [
|
||||
'token' => $this->tokenInfo->token,
|
||||
'user' => $this->staff
|
||||
|
Reference in New Issue
Block a user