Merge pull request '修改token验证接口' (#154) from zhangwei into dev

Reviewed-on: #154
This commit is contained in:
weiz 2023-11-08 14:23:05 +08:00
commit 9cf71dc95f

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){