Kaynağa Gözat

Merge branch 'after-sale' into dev

shish 1 hafta önce
ebeveyn
işleme
6cf0a59f78
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      biz-ghs/order/services/RefundOrderService.php

+ 1 - 1
biz-ghs/order/services/RefundOrderService.php

@@ -275,7 +275,7 @@ class RefundOrderService extends BaseService
             util::fail('没有找到客户');
         }
         $mainId = intval($post['mainId'] ?? 0);
-        if ($mainId > 0 && intval($custom->mainId ?? 0) !== $mainId) {
+        if ($mainId > 0 && intval($custom->ownMainId ?? 0) !== $mainId) {
             util::fail('客户不属于当前门店');
         }