正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -140,7 +140,7 @@ class User extends Api | @@ -140,7 +140,7 @@ class User extends Api | ||
140 | $total_money = 0; | 140 | $total_money = 0; |
141 | foreach ($plus as $v) { | 141 | foreach ($plus as $v) { |
142 | if($v['before'] > $v['after']) { | 142 | if($v['before'] > $v['after']) { |
143 | - $total_money = bcmul($total_money,$v['money'],2); | 143 | + $total_money = bcsub($total_money,$v['money'],2); |
144 | } else { | 144 | } else { |
145 | $total_money = bcadd($total_money,$v['money'],2); | 145 | $total_money = bcadd($total_money,$v['money'],2); |
146 | } | 146 | } |
-
请 注册 或 登录 后发表评论