Merge branch 'release' of wmtx/platform into master

推广后台财务管理退回导出设备版本
master
廖金灵 5 years ago committed by Gogs
commit 830552f12a

@ -2426,7 +2426,7 @@ class ExportController extends Controller
}
$orderData = M('test_order', 'tab_')->where($map)->page($page,$row)->order('add_time desc')->select();
$orderData = M('test_order', 'tab_')->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_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find();
$xlsData = [];
@ -7625,6 +7625,7 @@ class ExportController extends Controller
$xlsData = D("spend")->gameStatistics($map);
foreach ($xlsData as $key => $value) {
$xlsData[$key]['game_name'] = substr($value["game_name"],0,strrpos($value["game_name"],'('));
$xlsData[$key]['all_cash_count'] = $value['cash_count'] + $value['balance_coin_count'] + $value['inside_cash_count'];
if ($value['sdk_version'] == 1) {
$xlsData[$key]['sdk_version'] = '安卓';

@ -349,17 +349,17 @@
当前用户累计充值:{$now_count}   
历史累计充值:{$history_count}  
用户数:{$user_count}  
用户数:{$device_count}
用户数:{$device_count}
</td>
<td colspan="8" style="font-style: 12px;color: #a9a9a9;text-align: center;">
当前用户累计充值:&#12288;当前属于该推广员的用户的充值累计(不含用户换绑前记录)&#12288;&#12288;/&#12288;&#12288;
历史累计充值:&#12288;历史中属于该推广员的用户的充值累计(含用户换绑前记录)&#12288;&#12288;
用户数:{$device_count}
用户数:{$device_count}
</td>
<else />
<td colspan="99">
当前用户累计充值:{$now_count}&#12288;&#12288;用户数:{$user_count}&#12288;&#12288;
用户数:{$device_count}
用户数:{$device_count}
</td>
</if>

@ -3283,7 +3283,7 @@ class DownloadController extends BaseController {
$promoteGroup = isset($promotes[$list['promote_id']]) ? $promoteService->getGroupNameByChain($promotes[$list['promote_id']]['chain'], $list['promote_id']) : '';
$csvData["pay_order_number"] = $list["pay_order_number"];
$csvData["game_name"] = substr($list["game_name"],0,strrpos($list["game_name"],'('));
$csvData["game_name"] = $list["game_name"];
$csvData["user_account"] = $list["user_account"];
$csvData["promote_account"] = $list["promote_account"] . ($promoteGroup == '' ? '' : '(' . $promoteGroup . ')');
$csvData["pay_amount"] = $list["pay_amount"];

Loading…
Cancel
Save