过期状态

This commit is contained in:
2025-03-14 10:08:33 +08:00
parent c854518581
commit 0219e2f764

View File

@ -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