正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -97,7 +97,7 @@ class UsersController extends HomeBaseController{ | @@ -97,7 +97,7 @@ class UsersController extends HomeBaseController{ | ||
97 | */ | 97 | */ |
98 | public function getUsersInfo(){ | 98 | public function getUsersInfo(){ |
99 | $users_id=$this->request->param('users_id'); | 99 | $users_id=$this->request->param('users_id'); |
100 | - $data=Db::name('users')->field('users_id,phone,is_deposit,deposit')->where('id',$users_id)->find(); | 100 | + $data=Db::name('users')->field('id as users_id,phone,is_deposit,deposit')->where('id',$users_id)->find(); |
101 | $this->apiResponse(200,'success',$data); | 101 | $this->apiResponse(200,'success',$data); |
102 | } | 102 | } |
103 | 103 |
-
请 注册 或 登录 后发表评论