Kirin 2 年之前
父節點
當前提交
b1881de8a3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/company/Order.php

+ 1 - 1
app/admin/controller/company/Order.php

@@ -74,7 +74,7 @@ class Order 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']);
+        if ($this->request->post('store_id') > 0) $where['store_id'] = $this->request->post('store_id');
         return Json::successful(StoreOrderModel::getBadge($where));
     }
 }