支付渠道统计bug修正

master
zhengyongxing 5 years ago
parent cb74200850
commit 444c4e61f2

@ -969,7 +969,7 @@ class PayChannelController extends ThinkController
->order('tab_game_supersign.id DESC')
->count();
$field = "pay_price as cost,sum(pay_price) as pay_amount,pay_way";
$field = "sum(pay_price) as cost,sum(pay_price) as pay_amount,pay_way";
} elseif($model == 'deposit') {
$map['pay_source'] = 0;
if ($map['pay_time']) {
@ -1010,7 +1010,7 @@ class PayChannelController extends ThinkController
->order('tab_deposit.id DESC')
->count();
$field = "pay_amount as cost,sum(pay_amount) as pay_amount,pay_way";
$field = "sum(pay_amount) as cost,sum(pay_amount) as pay_amount,pay_way";
}
$sumAllData = M($model,'tab_')

Loading…
Cancel
Save