修改token验证接口

This commit is contained in:
weiz 2023-11-08 14:22:43 +08:00
parent dc9356c42f
commit 1386e7783b

View File

@ -262,7 +262,7 @@ class LoginController extends BaseApiController
{
$token = $this->request->post('token');
if(empty($token)){
return $this->fail('参数错误');
return $this->fail('token参数错误');
}
$userInfo = (new UserTokenCache())->getUserInfo($token);
if(!$userInfo){