Sfoglia il codice sorgente

fix(merchant): 修复养老金额计算逻辑

- 注释掉原有的养老金额计算公式
- 将养老金额固定设置为0
- 避免因计算错误导致的金额异常问题
shichen 2 mesi fa
parent
commit
d6b751bdf2

+ 2 - 1
app/common/repositories/system/merchant/MerchantRepository.php

@@ -493,7 +493,8 @@ class MerchantRepository extends BaseRepository
493 493
 
494 494
 //                $num_yl = $v['price'];
495 495
 //                $pv= $num_yl * 0.3;
496
-                $yanglao = bcmul($pv, 0.5, 2);
496
+//                 $yanglao = bcmul($pv, 0.5, 2);
497
+                $yanglao = 0;
497 498
                 $v['pv'] = $pv;
498 499
                 $v['yanglao'] = $yanglao;
499 500