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

interface

... ... @@ -97,7 +97,7 @@ class UsersController extends HomeBaseController{
*/
public function getUsersInfo(){
$users_id=$this->request->param('users_id');
$data=Db::name('users')->field('users_id,phone,is_deposit,deposit')->where('id',$users_id)->find();
$data=Db::name('users')->field('id as users_id,phone,is_deposit,deposit')->where('id',$users_id)->find();
$this->apiResponse(200,'success',$data);
}
... ...