|
@@ -72,7 +72,7 @@ abstract class Auth extends Controller
|
|
|
|
|
|
|
|
|
if($this->needLogin()) {
|
|
|
- if (empty($token)) $this->error('登录认证不能为空!',null);
|
|
|
+ if (empty($token)) $this->error('登录认证不能为空!',null,401);
|
|
|
}
|
|
|
[$state, $info, $this->uuid] = UserTokenService::check($this->type, $token);
|
|
|
if($this->needLogin()) {
|