diff --git a/service/Application/Api/Controller/OrderController.class.php b/service/Application/Api/Controller/OrderController.class.php index 3b5d82591..da00cd6a3 100755 --- a/service/Application/Api/Controller/OrderController.class.php +++ b/service/Application/Api/Controller/OrderController.class.php @@ -54,7 +54,7 @@ class OrderController extends CommonController $page = max(1, isset($this->data_post['page']) ? intval($this->data_post['page']) : 1); // 条件 - $where = OrderService::UserOrderListWhere($this->data_post); + $where = OrderService::UserOrderListWhere($params); // 获取总数 $total = OrderService::OrderTotal($where); @@ -91,8 +91,12 @@ class OrderController extends CommonController */ public function Detail() { + // 参数 + $params = $this->data_post['page']; + $params['user'] = $this->user; + // 条件 - $where = OrderService::UserOrderListWhere($this->data_post); + $where = OrderService::UserOrderListWhere($params); // 获取列表 $data_params = array(