|
|
@ -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)
|
|
|
@ -460,6 +462,7 @@ class PayChannelController extends ThinkController
|
|
|
|
->select(false);
|
|
|
|
->select(false);
|
|
|
|
// var_dump($spendData);die();
|
|
|
|
// var_dump($spendData);die();
|
|
|
|
$coinMap['pay_status'] = 1;
|
|
|
|
$coinMap['pay_status'] = 1;
|
|
|
|
|
|
|
|
$coinMap['pay_source'] = 2;
|
|
|
|
$coinData = M('pay_info','tab_')
|
|
|
|
$coinData = M('pay_info','tab_')
|
|
|
|
->join("inner join tab_deposit on tab_pay_info.order_id=tab_deposit.pay_order_number")
|
|
|
|
->join("inner join tab_deposit on tab_pay_info.order_id=tab_deposit.pay_order_number")
|
|
|
|
->field("pay_order_number,tab_deposit.create_time as pay_time,tab_deposit.user_account,tab_pay_info.game_name,tab_deposit.promote_account,
|
|
|
|
->field("pay_order_number,tab_deposit.create_time as pay_time,tab_deposit.user_account,tab_pay_info.game_name,tab_deposit.promote_account,
|
|
|
|