...
|
...
|
@@ -85,6 +85,27 @@ class UsersController extends HomeBaseController{ |
|
|
* @title 用户查询订单列表
|
|
|
* @description 用户查询订单列表
|
|
|
* @author 董瑞恩
|
|
|
* @url /portal/users/getUsersInfo
|
|
|
* @method GET
|
|
|
*
|
|
|
* @param name:users_id type:String require:1 default:无 other: desc:用户id
|
|
|
*
|
|
|
* @return users_id:用户id
|
|
|
* @return phone:用户手机号
|
|
|
* @return is_deposit:用户是否提交押金
|
|
|
* @return deposit:用户提交押金金额
|
|
|
*/
|
|
|
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();
|
|
|
$this->apiResponse(200,'success',$data);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* @title 用户查询订单列表
|
|
|
* @description 用户查询订单列表
|
|
|
* @author 董瑞恩
|
|
|
* @url /portal/users/getOrder
|
|
|
* @method GET
|
|
|
*
|
...
|
...
|
|