瀏覽代碼

fix(sync): 修正产品同步,成本价计算逻辑,从3%调整到23%

shichen 4 月之前
父節點
當前提交
c611554cfb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/command/WiwibaoProductSync.php

+ 1 - 1
app/command/WiwibaoProductSync.php

@@ -431,7 +431,7 @@ class WiwibaoProductSync extends Command
431
      */
431
      */
432
     protected function calculateCostPrice($platPrice)
432
     protected function calculateCostPrice($platPrice)
433
     {
433
     {
434
-        return bcadd((string)$platPrice, bcmul((string)$platPrice, '0.03', 4), 2);
434
+        return bcadd((string)$platPrice, bcmul((string)$platPrice, '0.23', 4), 2);
435
     }
435
     }
436
 
436
 
437
     /**
437
     /**