Kirin 2 лет назад
Родитель
Сommit
b2d811ff38
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/admin/controller/order/StoreOrder.php

+ 1 - 0
app/admin/controller/order/StoreOrder.php

@@ -76,6 +76,7 @@ class StoreOrder extends AuthController
             ['order', '']
         ]);
         $where['store_id'] = $this->adminInfo['store_id'];
+        if ($this->request->post('store_id') > 0) $where['store_id'] = $this->request->post('store_id');
         return Json::successful(StoreOrderModel::getBadge($where));
     }