Kirin há 2 anos atrás
pai
commit
b2d811ff38
1 ficheiros alterados com 1 adições e 0 exclusões
  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));
     }