...
|
...
|
@@ -129,9 +129,7 @@ class User extends Api |
|
|
->select();
|
|
|
$today_money = 0;
|
|
|
foreach ($plus_today as $v) {
|
|
|
if($v['before'] > $v['after']) {
|
|
|
$today_money -= $v['money'];
|
|
|
} else {
|
|
|
if($v['before'] < $v['after']) {
|
|
|
$today_money += $v['money'];
|
|
|
}
|
|
|
}
|
...
|
...
|
|