支付渠道统计bug修正

master
zhengyongxing 5 years ago
parent ed0283aff6
commit f8b570c20e

@ -46,6 +46,7 @@ class PayChannelController extends ThinkController
if (!empty($_REQUEST['game_id'])) { if (!empty($_REQUEST['game_id'])) {
$map['game_id'] = $_REQUEST['game_id']; $map['game_id'] = $_REQUEST['game_id'];
$bindMap['game_id'] = $_REQUEST['game_id']; $bindMap['game_id'] = $_REQUEST['game_id'];
$coinMap['game_id'] = $_REQUEST['game_id'];
} }
$map['pay_status'] = $coinMap['pay_status'] = 1; $map['pay_status'] = $coinMap['pay_status'] = 1;
@ -73,6 +74,7 @@ class PayChannelController extends ThinkController
->group("game_id") ->group("game_id")
->select(); ->select();
unset($coinMap['game_id']);
//平台币充值 //平台币充值
$coinSum = M('deposit','tab_') $coinSum = M('deposit','tab_')
->where($coinMap) ->where($coinMap)

Loading…
Cancel
Save