shish vor 6 Monaten
Ursprung
Commit
de3ec11620

+ 1 - 1
app-mall/controllers/OrderController.php

@@ -407,7 +407,7 @@ class OrderController extends BaseController
 
                 $post['sendCost'] = $sendCost;
                 $post['sendDistance'] = $distance;
-                noticeUtil::push("零售订单(花材),获取运费:{$sendCost} 重量:{$totalWeight} 距离:{$distance}m 姓名:{$customName} 手机号 {$customMobile}  金额:{$modifyPrice} 数量:{$totalNum}", '15280215347');
+                //noticeUtil::push("零售订单(花材),获取运费:{$sendCost} 重量:{$totalWeight} 距离:{$distance}m 姓名:{$customName} 手机号 {$customMobile}  金额:{$modifyPrice} 数量:{$totalNum}", '15280215347');
                 $modifyPrice = bcadd($modifyPrice, $sendCost, 2);
             }
 

+ 1 - 4
common/components/delivery/util/DeliveryQuoteUtil.php

@@ -231,11 +231,8 @@ class DeliveryQuoteUtil
                         $ruleNum = $rule['num'] ?? 0;
                         $rulePrice = $rule['price'] ?? 0;
                         $ruleDistance = ($rule['distance'] ?? 0) * 1000;
-
                         if ($productCount >= $ruleNum && $itemTotalAmount >= $rulePrice && $sendDistance <= $ruleDistance) {
-                            noticeUtil::push(
-                                "ghsMainId={$ghsMainId}, orderSn={$orderSn}, 免跑腿费,满足条件:" . json_encode($rule)
-                            );
+                            //noticeUtil::push("ghsMainId={$ghsMainId}, orderSn={$orderSn}, 免跑腿费,满足条件:" . json_encode($rule));
                             return 0;
                         }
                     }