|
|
@@ -11824,12 +11824,13 @@ class StoreOrderRepository extends BaseRepository
|
|
11824
|
11824
|
|
|
11825
|
11825
|
// 计算运费 获取该商品的运费模板 运费表
|
|
11826
|
11826
|
// 判断商品是否是 供应链(微唯宝)商品
|
|
11827
|
|
- $postage = $this->calculatePostage(
|
|
11828
|
|
- $productEntity,
|
|
11829
|
|
- $productAttrValueEntity,
|
|
11830
|
|
- $cartEntity->getCartNum(),
|
|
11831
|
|
- $addressEntity->getCityId()
|
|
11832
|
|
- );
|
|
|
11827
|
+ // $postage = $this->calculatePostage(
|
|
|
11828
|
+ // $productEntity,
|
|
|
11829
|
+ // $productAttrValueEntity,
|
|
|
11830
|
+ // $cartEntity->getCartNum(),
|
|
|
11831
|
+ // $addressEntity->getCityId()
|
|
|
11832
|
+ // );
|
|
|
11833
|
+ $postage = 0.00; // 默认全都包邮s
|
|
11833
|
11834
|
|
|
11834
|
11835
|
// 汇付手续费 (订单价格 + 邮费) * 汇付手续费比例
|
|
11835
|
11836
|
$commissionRate = bcmul(bcadd($price, $postage, CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT), CommonEnum::HUIFU_COMMISSION_CHARGE, CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
|