...
|
...
|
@@ -154,6 +154,9 @@ class UsersController extends HomeBaseController{ |
|
|
*
|
|
|
* @param name:users_id type:String require:1 default:无 other: desc:用户id
|
|
|
*
|
|
|
* @return page:当前页
|
|
|
* @return page:当前页
|
|
|
*
|
|
|
* @return id:订单id
|
|
|
* @return order_no:订单号
|
|
|
* @return eq_name:设备名称
|
...
|
...
|
@@ -166,8 +169,12 @@ class UsersController extends HomeBaseController{ |
|
|
*/
|
|
|
public function getOrder(){
|
|
|
$users_id=$this->request->param('users_id');
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id])->select();
|
|
|
$this->apiResponse(200,'success',$order);
|
|
|
$order=Db::name('order')->where(['users_id'=>$users_id])->paginate(8);
|
|
|
dump($order->render());
|
|
|
// $data=[
|
|
|
// ''
|
|
|
// ];
|
|
|
// $this->apiResponse(200,'success',$order);
|
|
|
}
|
|
|
/**
|
|
|
* @title 用户查询未完成订单信息
|
...
|
...
|
|