Kirin %!s(int64=3) %!d(string=hai) anos
pai
achega
2f9731d4f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/api/controller/admin/StoreOrderController.php

+ 1 - 1
app/api/controller/admin/StoreOrderController.php

@@ -102,7 +102,7 @@ class StoreOrderController
         if (!$info) {
             return app('json')->fail('权限不足');
         }
-        $where = UtilService::getMore(['page', 'limit', 'status']);
+        $where = UtilService::getMore([['page', 1], ['limit', 10], ['status', '']]);
         $where['store_id'] = $info['store_id'];
         $list = Card::systemPage($where);
         unset($where['page']);