|
@@ -25,11 +25,15 @@ class OrderController extends AppapiTokenController
|
|
public function actionList(){
|
|
public function actionList(){
|
|
|
|
|
|
$page = Yii::$app->request->get('page');
|
|
$page = Yii::$app->request->get('page');
|
|
|
|
+ $order_id = Yii::$app->request->get('order_id');
|
|
$page = $page ? $page : 1;
|
|
$page = $page ? $page : 1;
|
|
|
|
+ $order_id = $order_id ? $order_id : 1;
|
|
|
|
+ $where = ['>', 'order_id', $order_id];
|
|
$filter = [
|
|
$filter = [
|
|
'numPerPage' => $this->numPerPage,
|
|
'numPerPage' => $this->numPerPage,
|
|
'pageNum' => $page,
|
|
'pageNum' => $page,
|
|
'asArray' => true,
|
|
'asArray' => true,
|
|
|
|
+ 'where' => $where,
|
|
];
|
|
];
|
|
$data = Yii::$service->order->getorderinfocoll($filter);
|
|
$data = Yii::$service->order->getorderinfocoll($filter);
|
|
$coll = $data['coll'];
|
|
$coll = $data['coll'];
|