支付渠道/测试订单 游戏名字优化

master
chenzhi 5 years ago
parent 6d3f1b67e2
commit 84fe51efef

@ -2394,6 +2394,7 @@ class ExportController extends Controller
array('user_account', '测试账号'), array('user_account', '测试账号'),
array('pay_time', '充值时间'), array('pay_time', '充值时间'),
array('game_name', '游戏名称'), array('game_name', '游戏名称'),
array('sdk_version', '设备名称'),
array('order_amount', '订单金额'), array('order_amount', '订单金额'),
array('pay_amount', '实付金额'), array('pay_amount', '实付金额'),
array('pay_way', '充值方式'), array('pay_way', '充值方式'),
@ -2440,7 +2441,10 @@ class ExportController extends Controller
} }
$orderData = M('test_order', 'tab_')->where($map)->order('add_time desc')->select(); $orderData =M('test_order t', 'tab_')
->field("t.*,g.sdk_version")
->join("tab_game g on t.game_id = g.id","left")
->where($map)->order('add_time desc')->select();
$sum_order_amount = M('test_order', 'tab_')->where($map)->field('sum(order_amount) as sum_order_amount,count(1) as count')->find(); $sum_order_amount = M('test_order', 'tab_')->where($map)->field('sum(order_amount) as sum_order_amount,count(1) as count')->find();
$sum_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find(); $sum_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find();
$xlsData = []; $xlsData = [];
@ -2450,12 +2454,14 @@ class ExportController extends Controller
}else { }else {
$order_list['server_type'] = '测试外网'; $order_list['server_type'] = '测试外网';
} }
$order_list['game_name'] =clearGameNameType($v['game_name']);
$order_list['sdk_version'] =$v['sdk_version'] == 1 ? "安卓" : "苹果";
$order_list['order_type'] = get_order_type($v['order_type']); $order_list['order_type'] = get_order_type($v['order_type']);
$order_list['order_no'] = $v['order_no']; $order_list['order_no'] = $v['order_no'];
$order_list['cp_order_no'] = $v['cp_order_no']; $order_list['cp_order_no'] = $v['cp_order_no'];
$order_list['user_account'] = $v['user_account']; $order_list['user_account'] = $v['user_account'];
$order_list['pay_time'] = date('Y-m-d H:i:s', $v['pay_time']); $order_list['pay_time'] = date('Y-m-d H:i:s', $v['pay_time']);
$order_list['game_name'] = $v['game_name']; // $order_list['game_name'] = $v['game_name'];
$order_list['order_amount'] = $v['order_amount']; $order_list['order_amount'] = $v['order_amount'];
$order_list['pay_amount'] = $v['pay_amount']; $order_list['pay_amount'] = $v['pay_amount'];
$order_list['pay_way'] = get_pay_way($v['pay_way']); $order_list['pay_way'] = get_pay_way($v['pay_way']);

@ -589,7 +589,7 @@ class PayChannelController extends ThinkController
// setPowerPromoteIds($coinMap,'tab_deposit.promote_id'); // setPowerPromoteIds($coinMap,'tab_deposit.promote_id');
$spendData = M('spend','tab_') $spendData = M('spend','tab_')
->field("pay_order_number,pay_time,user_account,game_name,promote_account,spend_ip,server_name,game_player_name,cost,pay_amount,pay_way") ->field("pay_order_number,pay_time,user_account,game_name,promote_account,spend_ip,server_name,game_player_name,cost,pay_amount,pay_way,sdk_version")
->where($map) ->where($map)
->select(false); ->select(false);
// var_dump($spendData);die(); // var_dump($spendData);die();
@ -599,7 +599,7 @@ class PayChannelController extends ThinkController
$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,
tab_deposit.pay_ip as spend_ip,tab_pay_info.server_name,tab_pay_info.game_player_name, tab_deposit.pay_ip as spend_ip,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_pay_info.sdk_version,
tab_deposit.pay_amount as cost,tab_deposit.pay_amount,tab_deposit.pay_way") tab_deposit.pay_amount as cost,tab_deposit.pay_amount,tab_deposit.pay_way")
->where($coinMap) ->where($coinMap)
->select(false); ->select(false);
@ -656,6 +656,11 @@ class PayChannelController extends ThinkController
foreach ($data as $key => $value) { foreach ($data as $key => $value) {
$data[$key]['pay_time'] = date('Y-m-d H:i:s',$value['pay_time']); $data[$key]['pay_time'] = date('Y-m-d H:i:s',$value['pay_time']);
if ($model == 'spend') {
$data[$key]['game_name'] =clearGameNameType($data[$key]['game_name']);
$data[$key]['sdk_version'] =$data[$key]['sdk_version'] == 1 ? "安卓" : "苹果";
}
} }
$sql = "select count(1) as count from ({$unionSql})t;"; $sql = "select count(1) as count from ({$unionSql})t;";
@ -772,7 +777,7 @@ class PayChannelController extends ThinkController
} }
$spendData = M('spend','tab_') $spendData = M('spend','tab_')
->field("pay_order_number,pay_time,user_account,game_name,promote_account,spend_ip,server_name,game_player_name,cost,pay_amount,pay_way") ->field("pay_order_number,pay_time,user_account,game_name,sdk_version,promote_account,spend_ip,server_name,game_player_name,cost,pay_amount,pay_way")
->where($map) ->where($map)
->select(false); ->select(false);
// var_dump($spendData);die(); // var_dump($spendData);die();
@ -782,7 +787,7 @@ class PayChannelController extends ThinkController
$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_pay_info.sdk_version,tab_deposit.promote_account,
tab_deposit.pay_ip as spend_ip,tab_pay_info.server_name,tab_pay_info.game_player_name, tab_deposit.pay_ip as spend_ip,tab_pay_info.server_name,tab_pay_info.game_player_name,
tab_deposit.pay_amount as cost,tab_deposit.pay_amount,tab_deposit.pay_way") tab_deposit.pay_amount as cost,tab_deposit.pay_amount,tab_deposit.pay_way")
->where($coinMap) ->where($coinMap)
@ -825,7 +830,7 @@ class PayChannelController extends ThinkController
if ($model == 'spend') { if ($model == 'spend') {
$xlsCell = array('支付订单号', '充值时间', '玩家账号', '游戏名称', '所属推广员', '充值ip', '游戏区服', '角色名称', '订单金额', '实付金额', '充值方式'); $xlsCell = array('支付订单号', '充值时间', '玩家账号', '游戏名称', '设备名称','所属推广员', '充值ip', '游戏区服', '角色名称', '订单金额', '实付金额', '充值方式');
$unionSql = "{$spendData} UNION ALL {$coinData}"; $unionSql = "{$spendData} UNION ALL {$coinData}";
} elseif($model == 'coin_pay_order') { } elseif($model == 'coin_pay_order') {
$xlsCell = array('支付订单号', '充值时间', '所属推广员', '订单金额', '实付金额', '充值方式'); $xlsCell = array('支付订单号', '充值时间', '所属推广员', '订单金额', '实付金额', '充值方式');
@ -863,8 +868,12 @@ class PayChannelController extends ThinkController
$sql = "select * from ({$unionSql})t order by pay_time DESC limit {$page},{$perSize};"; $sql = "select * from ({$unionSql})t order by pay_time DESC limit {$page},{$perSize};";
$xlsData = M()->query($sql); $xlsData = M()->query($sql);
foreach ($xlsData as $k => $v) { foreach ($xlsData as $k => $v) {
if ($model == 'spend') {
$v['game_name'] =clearGameNameType($v['game_name']);
$v['sdk_version'] =$v['sdk_version'] == 1 ? "安卓" : "苹果";
}
$v['pay_time'] = date('Y-m-d H:i:s',$v['pay_time']); $v['pay_time'] = date('Y-m-d H:i:s',$v['pay_time']);
$v['pay_way'] = get_pay_way($v['pay_way']); $v['pay_way'] = get_pay_way($v['pay_way']);
@ -973,7 +982,7 @@ class PayChannelController extends ThinkController
} }
// setPowerPromoteIds($map,'promote_id'); // setPowerPromoteIds($map,'promote_id');
$data = M('spend','tab_') $data = M('spend','tab_')
->field("pay_order_number,order_number,user_account,pay_time,game_name,server_name,game_player_name,cost,pay_amount,pay_way as pay_type,pay_way,pay_game_status") ->field("pay_order_number,order_number,user_account,pay_time,game_name,server_name,game_player_name,cost,pay_amount,pay_way as pay_type,pay_way,pay_game_status,sdk_version")
->join('inner join tab_test_white_list on tab_spend.user_id=tab_test_white_list.user_id') ->join('inner join tab_test_white_list on tab_spend.user_id=tab_test_white_list.user_id')
->where($map) ->where($map)
// ->order('tab_spend.id DESC') // ->order('tab_spend.id DESC')
@ -1001,7 +1010,7 @@ class PayChannelController extends ThinkController
->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")
->join("inner join tab_test_white_list on tab_test_white_list.user_id=tab_pay_info.user_id") ->join("inner join tab_test_white_list on tab_test_white_list.user_id=tab_pay_info.user_id")
->field("pay_order_number,tab_deposit.order_number,tab_deposit.user_account,tab_deposit.create_time as pay_time, ->field("pay_order_number,tab_deposit.order_number,tab_deposit.user_account,tab_deposit.create_time as pay_time,
tab_pay_info.game_name,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_deposit.pay_amount as cost, tab_pay_info.game_name,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_pay_info.sdk_version,tab_deposit.pay_amount as cost,
tab_deposit.pay_amount,tab_deposit.pay_way as pay_type,tab_deposit.pay_way,'' as pay_game_status") tab_deposit.pay_amount,tab_deposit.pay_way as pay_type,tab_deposit.pay_way,'' as pay_game_status")
->where($coinMap) ->where($coinMap)
->select(false); ->select(false);
@ -1027,6 +1036,9 @@ class PayChannelController extends ThinkController
$data[$key]['pay_type'] = get_pay_way($value['pay_type']); $data[$key]['pay_type'] = get_pay_way($value['pay_type']);
$data[$key]['game_name'] =clearGameNameType($data[$key]['game_name']);
$data[$key]['sdk_version'] =$data[$key]['sdk_version'] == 1 ? "安卓" : "苹果";
if ($value['pay_way']==1 || $value['pay_way']==9 ) { if ($value['pay_way']==1 || $value['pay_way']==9 ) {
$data[$key]['pay_way'] = '支付宝'; $data[$key]['pay_way'] = '支付宝';
} else if ($value['pay_way']==2 || $value['pay_way']==3 ) { } else if ($value['pay_way']==2 || $value['pay_way']==3 ) {
@ -1098,6 +1110,8 @@ class PayChannelController extends ThinkController
$data[$key]['pay_time'] = Date('Y-m-d H:i:s',$value['pay_time']); $data[$key]['pay_time'] = Date('Y-m-d H:i:s',$value['pay_time']);
$data[$key]['pay_type'] = get_pay_way($value['pay_type']); $data[$key]['pay_type'] = get_pay_way($value['pay_type']);
$data[$key]['game_name'] =clearGameNameType($data[$key]['game_name']);
$data[$key]['sdk_version'] ="苹果";
if ($value['pay_way']==1 || $value['pay_way']==9 ) { if ($value['pay_way']==1 || $value['pay_way']==9 ) {
$data[$key]['pay_way'] = '支付宝'; $data[$key]['pay_way'] = '支付宝';
@ -1288,7 +1302,7 @@ class PayChannelController extends ThinkController
if ($model == 'spend') { if ($model == 'spend') {
$xlsCell = array('支付订单号', 'cp订单号', '测试账号', '充值时间', '游戏名称', '游戏区服', $xlsCell = array('支付订单号', 'cp订单号', '测试账号', '充值时间', '游戏名称','设备名称', '游戏区服',
'角色名称', '订单金额', ' 实付金额 ', '充值方式', '支付渠道', '游戏通知状态',); '角色名称', '订单金额', ' 实付金额 ', '充值方式', '支付渠道', '游戏通知状态',);
mb_convert_variables('GBK', 'UTF-8', $xlsCell); mb_convert_variables('GBK', 'UTF-8', $xlsCell);
@ -1300,7 +1314,7 @@ class PayChannelController extends ThinkController
// setPowerPromoteIds($map,'promote_id'); // setPowerPromoteIds($map,'promote_id');
$data = M('spend','tab_') $data = M('spend','tab_')
->field("pay_order_number,order_number,user_account,pay_time,game_name,server_name,game_player_name,cost,pay_amount,pay_way as pay_type,pay_way,pay_game_status") ->field("pay_order_number,order_number,user_account,pay_time,game_name,sdk_version,server_name,game_player_name,cost,pay_amount,pay_way as pay_type,pay_way,pay_game_status")
->join('inner join tab_test_white_list on tab_spend.user_id=tab_test_white_list.user_id') ->join('inner join tab_test_white_list on tab_spend.user_id=tab_test_white_list.user_id')
->where($map) ->where($map)
// ->order('tab_spend.id DESC') // ->order('tab_spend.id DESC')
@ -1331,7 +1345,7 @@ class PayChannelController extends ThinkController
->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")
->join("inner join tab_test_white_list on tab_test_white_list.user_id=tab_pay_info.user_id") ->join("inner join tab_test_white_list on tab_test_white_list.user_id=tab_pay_info.user_id")
->field("pay_order_number,tab_deposit.order_number,tab_deposit.user_account,tab_deposit.create_time as pay_time, ->field("pay_order_number,tab_deposit.order_number,tab_deposit.user_account,tab_deposit.create_time as pay_time,
tab_pay_info.game_name,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_deposit.pay_amount as cost, tab_pay_info.game_name,tab_pay_info.sdk_version,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_deposit.pay_amount as cost,
tab_deposit.pay_amount,tab_deposit.pay_way as pay_type,tab_deposit.pay_way,'' as pay_game_status") tab_deposit.pay_amount,tab_deposit.pay_way as pay_type,tab_deposit.pay_way,'' as pay_game_status")
->where($coinMap) ->where($coinMap)
->select(false); ->select(false);
@ -1354,6 +1368,8 @@ class PayChannelController extends ThinkController
$value['pay_order_number'] = "'".$value['pay_order_number']; $value['pay_order_number'] = "'".$value['pay_order_number'];
$value['order_number'] = "'".$value['order_number']; $value['order_number'] = "'".$value['order_number'];
$value['game_name'] =clearGameNameType($value['game_name']);
$value['sdk_version'] =$value['sdk_version'] == 1 ? "安卓" : "苹果";
if (!$value['order_number']) { if (!$value['order_number']) {
$data[$key]['order_number'] = '无'; $data[$key]['order_number'] = '无';
@ -1412,7 +1428,7 @@ class PayChannelController extends ThinkController
} elseif($model == 'game_supersign') { } elseif($model == 'game_supersign') {
$xlsCell = array('支付订单号', '测试账号', '充值时间', '游戏名称', $xlsCell = array('支付订单号', '测试账号', '充值时间', '游戏名称','设备名称',
'订单金额', ' 实付金额 ', '充值方式', '支付渠道',); '订单金额', ' 实付金额 ', '充值方式', '支付渠道',);
mb_convert_variables('GBK', 'UTF-8', $xlsCell); mb_convert_variables('GBK', 'UTF-8', $xlsCell);
@ -1450,19 +1466,18 @@ class PayChannelController extends ThinkController
$page = ($i - 1) * $perSize; $page = ($i - 1) * $perSize;
$data = M('game_supersign', 'tab_') $data = M('game_supersign', 'tab_')
->field("order_id as pay_order_number,account as user_account,pay_time,game_name,pay_price as cost,pay_price as pay_amount,pay_way as pay_type,pay_way") ->field("order_id as pay_order_number,account as user_account,pay_time,game_name,@t:='苹果' sdk_version,pay_price as cost,pay_price as pay_amount,pay_way as pay_type,pay_way")
->join('inner join tab_test_white_list on tab_game_supersign.user_id=tab_test_white_list.user_id') ->join('inner join tab_test_white_list on tab_game_supersign.user_id=tab_test_white_list.user_id')
->join('left join tab_game on tab_game_supersign.game_id= tab_game.id') ->join('left join tab_game on tab_game_supersign.game_id= tab_game.id')
->where($map) ->where($map)
->limit($page ,$perSize) ->limit($page ,$perSize)
->order('tab_game_supersign.id DESC') ->order('tab_game_supersign.id DESC')
->select(); ->select();
foreach ($data as $key => $value) { foreach ($data as $key => $value) {
$value['pay_order_number'] = "'".$value['pay_order_number']; $value['pay_order_number'] = "'".$value['pay_order_number'];
$value['pay_time'] = Date('Y-m-d H:i:s', $value['pay_time']); $value['pay_time'] = Date('Y-m-d H:i:s', $value['pay_time']);
$value['game_name'] =clearGameNameType($value['game_name']);
$value['pay_type'] = get_pay_way($value['pay_type']); $value['pay_type'] = get_pay_way($value['pay_type']);
if ($value['pay_way'] == 1 || $value['pay_way'] == 9) { if ($value['pay_way'] == 1 || $value['pay_way'] == 9) {
@ -1499,7 +1514,7 @@ class PayChannelController extends ThinkController
$map['create_time'] = $map['pay_time']; $map['create_time'] = $map['pay_time'];
unset($map['pay_time']); unset($map['pay_time']);
} }
// setPowerPromoteIds($map,'tab_deposit.promote_id'); // setPowerPromoteIds($map,'tab_deposit.promote_id');
$accessNum = M('deposit','tab_') $accessNum = M('deposit','tab_')
->field("pay_order_number,order_number,user_account,create_time as pay_time,pay_amount as cost,pay_amount,pay_way as pay_type,pay_way") ->field("pay_order_number,order_number,user_account,create_time as pay_time,pay_amount as cost,pay_amount,pay_way as pay_type,pay_way")

@ -47,7 +47,14 @@ class TestOrderController extends ThinkController
$timeend = strtotime($_REQUEST['timeend'])+86399; $timeend = strtotime($_REQUEST['timeend'])+86399;
$map['pay_time'] = array("ELT",$timeend); $map['pay_time'] = array("ELT",$timeend);
} }
$order_list = M('test_order', 'tab_')->where($map)->page($page,$row)->order('add_time desc')->select(); $order_list = M('test_order t', 'tab_')
->field("t.*,g.sdk_version")
->join("tab_game g on t.game_id = g.id","left")
->where($map)->page($page,$row)->order('add_time desc')->select();
foreach ($order_list as $k => &$v) {
$v['game_name'] =clearGameNameType($v['game_name']);
$v['sdk_version'] =$v['sdk_version'] == 1 ? "安卓" : "苹果";
}
$sum_order_amount = M('test_order', 'tab_')->where($map)->field('sum(order_amount) as sum_order_amount,count(1) as count')->find(); $sum_order_amount = M('test_order', 'tab_')->where($map)->field('sum(order_amount) as sum_order_amount,count(1) as count')->find();
$sum_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find(); $sum_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find();

@ -124,6 +124,7 @@
<if condition="$_GET['model'] neq 'coin_pay_order'"><th >玩家账号</th></if> <if condition="$_GET['model'] neq 'coin_pay_order'"><th >玩家账号</th></if>
<if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><th >游戏名称</th></if> <if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><th >游戏名称</th></if>
<if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><th >设备名称</th></if>
<th >所属推广员</th> <th >所属推广员</th>
@ -159,6 +160,7 @@
<td >{$data.pay_time}</td> <td >{$data.pay_time}</td>
<if condition="$_GET['model'] neq 'coin_pay_order'"><td >{$data.user_account}</td></if> <if condition="$_GET['model'] neq 'coin_pay_order'"><td >{$data.user_account}</td></if>
<if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.game_name}</td></if> <if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.game_name}</td></if>
<if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.sdk_version}</td></if>
<td >{$data.promote_account}</td> <td >{$data.promote_account}</td>
<if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'game_supersign'"><td >{$data.spend_ip}</td></if> <if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'game_supersign'"><td >{$data.spend_ip}</td></if>
<if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.server_name}</td></if> <if condition="$_GET['model'] neq 'coin_pay_order' and $_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.server_name}</td></if>

@ -124,6 +124,7 @@
<th >充值时间</th> <th >充值时间</th>
<if condition="$_GET['model'] neq 'deposit'"><th >游戏名称</th></if> <if condition="$_GET['model'] neq 'deposit'"><th >游戏名称</th></if>
<if condition="$_GET['model'] neq 'deposit'"><th >设备名称</th></if>
<if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><th >游戏区服</th></if> <if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><th >游戏区服</th></if>
@ -160,6 +161,7 @@
<td >{$data.user_account}</td> <td >{$data.user_account}</td>
<td >{$data.pay_time}</td> <td >{$data.pay_time}</td>
<if condition="$_GET['model'] neq 'deposit'"><td >{$data.game_name}</td></if> <if condition="$_GET['model'] neq 'deposit'"><td >{$data.game_name}</td></if>
<if condition="$_GET['model'] neq 'deposit'"><td >{$data.sdk_version}</td></if>
<if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.server_name}</td></if> <if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.server_name}</td></if>
<if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.game_player_name}</td></if> <if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >{$data.game_player_name}</td></if>
<td >{$data.cost}</td> <td >{$data.cost}</td>
@ -175,6 +177,7 @@
<td >------</td> <td >------</td>
<td >------</td> <td >------</td>
<if condition="$_GET['model'] neq 'deposit'"><td >------</td></if> <if condition="$_GET['model'] neq 'deposit'"><td >------</td></if>
<if condition="$_GET['model'] neq 'deposit'"><td >------</td></if>
<if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >------</td></if> <if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >------</td></if>
<if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >------</td></if> <if condition="$_GET['model'] neq 'deposit' and $_GET['model'] neq 'game_supersign'"><td >------</td></if>
<td >{$sumAllData.cost}</td> <td >{$sumAllData.cost}</td>

@ -124,6 +124,7 @@
<th >充值时间</th> <th >充值时间</th>
<if condition="$_GET['model'] neq 'deposit'"><th >游戏名称</th></if> <if condition="$_GET['model'] neq 'deposit'"><th >游戏名称</th></if>
<if condition="$_GET['model'] neq 'deposit'"><th >设备名称</th></if>
<th >订单金额</th> <th >订单金额</th>
@ -158,6 +159,7 @@
<td >{$data.user_account}</td> <td >{$data.user_account}</td>
<td >{$data.pay_time|date='Y-m-d H:i:s',###}</td> <td >{$data.pay_time|date='Y-m-d H:i:s',###}</td>
<td >{$data.game_name}</td> <td >{$data.game_name}</td>
<td >{$data.sdk_version}</td>
<td >{$data.order_amount}</td> <td >{$data.order_amount}</td>
<td >{$data.pay_amount}</td> <td >{$data.pay_amount}</td>
<td >{$data.pay_way|get_pay_way}</td> <td >{$data.pay_way|get_pay_way}</td>
@ -173,6 +175,7 @@
<td >------</td> <td >------</td>
<td >------</td> <td >------</td>
<td >------</td> <td >------</td>
<td >------</td>
<td >{$sum_order_amount['sum_order_amount']}</td> <td >{$sum_order_amount['sum_order_amount']}</td>
<td >{$sum_pay_amount['sum_order_amount']}</td> <td >{$sum_pay_amount['sum_order_amount']}</td>
<td >------</td> <td >------</td>

Loading…
Cancel
Save