shish 2 лет назад
Родитель
Сommit
deadb7f239
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      biz-hd/purchase/classes/PurchaseClass.php

+ 6 - 2
biz-hd/purchase/classes/PurchaseClass.php

@@ -1139,7 +1139,9 @@ class PurchaseClass extends BaseClass
         if (isset($response['code']) == false || $response['code'] != 'BBS00000') {
             $msg = $response['msg'] ?? '';
             $code = $response['code'] ?? 0;
-            noticeUtil::push('花店采购:' . $orderSn . ',关单没有成功,' . $msg . $code, '15280215347');
+            if (!in_array($code, ['BBS11114'])) {
+                noticeUtil::push('花店采购:' . $orderSn . ',关单没有成功,' . $msg . ' ' . $code, '15280215347');
+            }
         }
 
         //收银台关单
@@ -1148,7 +1150,9 @@ class PurchaseClass extends BaseClass
         if (isset($response['code']) == false || $response['code'] != '000000') {
             $msg = $response['msg'] ?? '';
             $code = $response['code'] ?? 0;
-            noticeUtil::push('花店采购:' . $orderSn . ',关单没有成功(收银台-支付宝),' . $msg . $code, '15280215347');
+            if (!in_array($code, ['000091'])) {
+                noticeUtil::push('花店采购:' . $orderSn . ',关单没有成功(收银台-支付宝),' . $msg . ' ' . $code, '15280215347');
+            }
         }
 
         return $purchase;