|
|
@@ -666,7 +666,7 @@ class PurchaseController extends BaseController
|
|
|
$rate = bcadd(1, bcdiv($changeRate, 100, 4), 4);
|
|
|
$sendCost = bcmul($sendCost, $rate, 2);
|
|
|
}
|
|
|
-
|
|
|
+ Yii::info("打日志666677777");
|
|
|
// 自定义计费也要套满减,否则确认页按规则免了 15 元、下单仍按起步价落库
|
|
|
$distanceMeters = floatval($distanceRespond['distance'] ?? 0);
|
|
|
if ($distanceMeters <= 0 && $sendDistance > 0) {
|
|
|
@@ -681,6 +681,8 @@ class PurchaseController extends BaseController
|
|
|
);
|
|
|
$sendCost = $discountRespond['sendCost'] ?? $sendCost;
|
|
|
|
|
|
+ Yii::info("打日志6666");
|
|
|
+
|
|
|
$post['sendCost'] = bcadd($post['sendCost'] ?? 0, $sendCost, 2);
|
|
|
$post['sendDistance'] = $sendDistance;
|
|
|
|