|
|
|
@ -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)
|
|
|
|
|