shish преди 3 години
родител
ревизия
2732ca2f63
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 3 0
      app-ghs/controllers/OrderController.php
  2. 1 1
      biz-ghs/cg/classes/CgRefundItemClass.php

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

@@ -645,6 +645,9 @@ class OrderController extends BaseController
 
             }
         }
+        if (isset($get['customId']) && !empty($get['customId'])) {
+            $where['customId'] = $get['customId'];
+        }
         $respond = OrderClass::getOrderList($where);
         $respond['shop'] = $this->shop;
         $respond['shopExt'] = $this->shopExt;

+ 1 - 1
biz-ghs/cg/classes/CgRefundItemClass.php

@@ -32,7 +32,7 @@ class CgRefundItemClass extends BaseClass
         $oldStock = $stockInfo['oldStock'] ?? 0;
         $newStock = $stockInfo['newStock'] ?? 0;
         if ($newStock < 0) {
-            util::fail("退货失败,{$name} 库存不足" . $bigNum);
+            util::fail("退货失败,{$name}库存不足" . $bigNum);
         }
 
         $recordData = [];