...
|
...
|
@@ -140,7 +140,7 @@ class User extends Api |
|
|
$total_money = 0;
|
|
|
foreach ($plus as $v) {
|
|
|
if($v['before'] > $v['after']) {
|
|
|
$total_money = bcmul($total_money,$v['money'],2);
|
|
|
$total_money = bcsub($total_money,$v['money'],2);
|
|
|
} else {
|
|
|
$total_money = bcadd($total_money,$v['money'],2);
|
|
|
}
|
...
|
...
|
|