正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -115,7 +115,7 @@ class RestBaseController | @@ -115,7 +115,7 @@ class RestBaseController | ||
115 | ->where(['token' => $token, 'device_type' => $deviceType]) | 115 | ->where(['token' => $token, 'device_type' => $deviceType]) |
116 | ->join('__USER__ b', 'a.user_id = b.id') | 116 | ->join('__USER__ b', 'a.user_id = b.id') |
117 | ->find(); | 117 | ->find(); |
118 | - $this->success($user); | 118 | + $this->success( $this->token); |
119 | if (!empty($user)) { | 119 | if (!empty($user)) { |
120 | $this->user = $user; | 120 | $this->user = $user; |
121 | $this->userId = $user['id']; | 121 | $this->userId = $user['id']; |
-
请 注册 或 登录 后发表评论