Explorar o código

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

shichen hai 4 meses
pai
achega
c611554cfb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/command/WiwibaoProductSync.php

+ 1 - 1
app/command/WiwibaoProductSync.php

@@ -431,7 +431,7 @@ class WiwibaoProductSync extends Command
431 431
      */
432 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
     /**