游戏统计

master
liuweiwen 5 years ago
parent 93c5e311a6
commit d31c2f28f3

@ -915,7 +915,7 @@ class FinanceController extends ThinkController
} else {
$row = 10;
}
$map['pay_status'] = 1;
$map['pay_game_status'] = 1;
if (!empty(I("game_id"))) {
$map['tab_spend.game_id'] = I("game_id");
}
@ -951,7 +951,6 @@ class FinanceController extends ThinkController
$page = set_pagination($count,$row);
$map['pay_game_status'] = 1;
$total_cost = D('spend')->sumSpend($map, 'cost');//订单金额合计
$total_pay_amount = D('spend')->sumSpend($map, 'pay_amount');//实付金额合计

Loading…
Cancel
Save