This commit is contained in:
2025-08-15 17:37:45 +08:00
parent 2e14978b85
commit 0efa7c6695

View File

@@ -51,7 +51,7 @@ class BaseController
$token = request()->header('token'); $token = request()->header('token');
if ($token) { if ($token) {
if(!$this->auth->init($token)) { if(!$this->auth->init($token)) {
$this->error('Token expiration', [], 409); $this->error('Token expiration', [], 401);
} }
}else { }else {
if ($needLogin) { if ($needLogin) {