作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -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