Przeglądaj źródła

客户端-京东服务商从京推推换成官方

sunxbiao 11 miesięcy temu
rodzic
commit
64bc573011
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/controller/api/store/product/Jd.php

+ 1 - 1
app/controller/api/store/product/Jd.php

@@ -583,7 +583,7 @@ class Jd extends BaseController
583 583
 
584 584
             // 券后佣金,(促销价-优惠券面额)*佣金比例
585 585
             $commissionMoney = bcmul($purchasePrice, bcdiv($goods['commissionInfo']['commissionShare'] ?? 0.00, 100, 5), 2);
586
-            $commissionMoney = bcsub($commissionMoney, 0.8, 2);
586
+            $commissionMoney = bcmul($commissionMoney, 0.8, 2);
587 587
 
588 588
             $formatList = [
589 589
                 'type' => 6,//京东商品