正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -123,6 +123,8 @@ class RestBaseController | @@ -123,6 +123,8 @@ class RestBaseController | ||
123 | $this->user = $user; | 123 | $this->user = $user; |
124 | $this->userId = $user['id']; | 124 | $this->userId = $user['id']; |
125 | $this->userType = $user['user_type']; | 125 | $this->userType = $user['user_type']; |
126 | + } else { | ||
127 | + $this->error(['code'=>'40001','msg'=>'token失效']); | ||
126 | } | 128 | } |
127 | 129 | ||
128 | } | 130 | } |
-
请 注册 或 登录 后发表评论