浏览代码

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

- 注释掉原有的养老金额计算公式
- 将养老金额固定设置为0
- 避免因计算错误导致的金额异常问题
shichen 2 月之前
父节点
当前提交
d6b751bdf2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/common/repositories/system/merchant/MerchantRepository.php

+ 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