作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

个人中心接口

... ... @@ -115,7 +115,7 @@ class RestBaseController
->where(['token' => $token, 'device_type' => $deviceType])
->join('__USER__ b', 'a.user_id = b.id')
->find();
$this->success($user);
$this->success( $this->token);
if (!empty($user)) {
$this->user = $user;
$this->userId = $user['id'];
... ...