|
|
|
@ -1174,7 +1174,7 @@ class ExportController extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$xlsCell = array(
|
|
|
|
|
"支付订单号","CP订单号", "充值时间","支付时间", "玩家账号", "游戏名称", L('Subordinate_channel'), "充值ip","区服ID", "游戏区服",
|
|
|
|
|
"支付订单号","CP订单号", "充值时间","支付时间", "玩家账号", "游戏名称", L('Subordinate_channel'), '所属推广公司', "充值ip","区服ID", "游戏区服",
|
|
|
|
|
"角色ID","角色名称", "订单金额", "实付金额", "充值方式", L('Order_status'), "游戏通知状态", "消费"."{$total}"
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
@ -1206,7 +1206,9 @@ class ExportController extends Controller
|
|
|
|
|
// ->join($tab_promote_join)
|
|
|
|
|
// ->order('pay_time DESC')
|
|
|
|
|
// ->select();
|
|
|
|
|
->field('pay_order_number,extend,pay_time,payed_time,user_account,game_name,promote_account,spend_ip,server_id,server_name,game_player_id,game_player_name,cost,pay_amount,pay_way,pay_status,pay_game_status')
|
|
|
|
|
->field('pay_order_number,extend,pay_time,payed_time,user_account,game_name,promote_account, tab_promote_company.company_name, spend_ip,server_id,server_name,game_player_id,game_player_name,cost,pay_amount,pay_way,pay_status,pay_game_status')
|
|
|
|
|
->join('tab_promote on tab_promote.id = tab_spend.promote_id', 'left')
|
|
|
|
|
->join('tab_promote_company on tab_promote_company.id and tab_promote.company_id', 'left')
|
|
|
|
|
->where($map)
|
|
|
|
|
->limit(($i-1)*$perSize ,$perSize)
|
|
|
|
|
->order($order ? $order : 'pay_time desc')
|
|
|
|
|