|
|
@@ -176,9 +176,15 @@ class OrderLogic extends BaseLogic
|
|
|
if ($params['delivery_type'] == DeliveryEnum::SELF_DELIVERY) {
|
|
|
self::$orderPrice['express_price'] = 0;
|
|
|
} else {
|
|
|
- $express_data = FreightLogic::calculateFreight($goodsLists, $userAddress);
|
|
|
- self::$orderPrice['express_price'] = $express_data['express_price'];
|
|
|
- $goodsLists = $express_data['goods'];
|
|
|
+ $area_flag = ConfigService::get('shop', 'area_flag');
|
|
|
+ if($area_flag==1){
|
|
|
+ self::$orderPrice['express_price'] = 5;
|
|
|
+ }else{
|
|
|
+ $express_data = FreightLogic::calculateFreight($goodsLists, $userAddress);
|
|
|
+ self::$orderPrice['express_price'] = $express_data['express_price'];
|
|
|
+ $goodsLists = $express_data['goods'];
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
// 普通订单、虚拟订单可使用优惠券
|