shish 2 месяцев назад
Родитель
Сommit
a71d3bd801
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      app-ghs/controllers/OrderController.php

+ 8 - 0
app-ghs/controllers/OrderController.php

@@ -1015,6 +1015,14 @@ class OrderController extends BaseController
         if (!empty($shopAdminId)) {
             $where['shopAdminId'] = $shopAdminId;
         }
+        $onlinePay = $get['onlinePay'] ?? -1;
+        if ($onlinePay > -1) {
+            $where['onlinePay'] = $onlinePay;
+        }
+        $sendType = $get['sendType'] ?? -1;
+        if ($sendType > -1) {
+            $where['sendType'] = $sendType;
+        }
 
         $respond = OrderClass::getOrderList($where);
         if ($export == 1) {