shish 3 роки тому
батько
коміт
a9e2506236
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      app-ghs/controllers/StockInController.php

+ 4 - 1
app-ghs/controllers/StockInController.php

@@ -74,8 +74,11 @@ class StockInController extends BaseController
         if (!empty($orderStatus)) {
             $where['status'] = $orderStatus;
         }
-
         $searchTime = $get['searchTime'] ?? '';
+        //惠雅鲜花搜索
+        if (in_array($this->shopId, [2167, 2164, 520])) {
+            $searchTime = $get['searchTime'] ?? 'today';
+        }
         if (!empty($searchTime)) {
             $startTime = $get['startTime'] ?? '';
             $endTime = $get['endTime'] ?? '';