Răsfoiți Sursa

订单列表

shish 2 ani în urmă
părinte
comite
0eb28f692f
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      app-ghs/controllers/OrderController.php

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

@@ -788,6 +788,11 @@ class OrderController extends BaseController
         if (isset($get['customId']) && !empty($get['customId'])) {
             $where['customId'] = $get['customId'];
         }
+        if (isset($get['ids']) && !empty($get['ids'])) {
+            $stringIds = $get['ids'];
+            $newIds = explode(',', $stringIds);
+            $where['customId'] = ['in', $newIds];
+        }
         $respond = OrderClass::getOrderList($where);
         $respond['shop'] = $this->shop;
         $respond['shopExt'] = $this->shopExt;