Commit 36230558 authored by shajiaiming's avatar shajiaiming

用户信息

parent 3b7e7f9d
...@@ -45,7 +45,8 @@ class UserController extends BaseController ...@@ -45,7 +45,8 @@ class UserController extends BaseController
$data = [ $data = [
'username' => $user->username, 'username' => $user->username,
'uid' => isset($user->bind_uid) ? $user->bind_uid : $user->uid, 'uid' => isset($user->bind_uid) ? $user->bind_uid : $user->uid,
'type' => isset($user->bind_uid) ? 2 : 1 'type' => isset($user->bind_uid) ? 2 : 1,
'platform_id' => $user->platform_id
]; ];
return ['code' => $code, 'msg' => $msg, 'data' => $data]; return ['code' => $code, 'msg' => $msg, 'data' => $data];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment