diff --git a/Application/Admin/Controller/PayChannelController.class.php b/Application/Admin/Controller/PayChannelController.class.php index b18953b7e..c0a53ccf6 100644 --- a/Application/Admin/Controller/PayChannelController.class.php +++ b/Application/Admin/Controller/PayChannelController.class.php @@ -46,6 +46,7 @@ class PayChannelController extends ThinkController if (!empty($_REQUEST['game_id'])) { $map['game_id'] = $_REQUEST['game_id']; $bindMap['game_id'] = $_REQUEST['game_id']; + $coinMap['game_id'] = $_REQUEST['game_id']; } $map['pay_status'] = $coinMap['pay_status'] = 1; @@ -73,6 +74,7 @@ class PayChannelController extends ThinkController ->group("game_id") ->select(); + unset($coinMap['game_id']); //平台币充值 $coinSum = M('deposit','tab_') ->where($coinMap)