推广平台->数据管理->数据汇总--检索更新

master
chenxiaojun 5 years ago
parent e2fa14c1c8
commit ee97f42261

@ -1194,6 +1194,7 @@ class QueryController extends BaseController
$page = intval(I('get.p', 1)); $page = intval(I('get.p', 1));
$page = $page ? $page : 1; //默认显示第一页数据arraypage $page = $page ? $page : 1; //默认显示第一页数据arraypage
$row = intval(I('get.row', 10)); $row = intval(I('get.row', 10));
$ownId = intval(I('own_id'), 0);//本账号
$relationGameId = intval(I('relation_game_id', 0)); $relationGameId = intval(I('relation_game_id', 0));
$sdkVersion = intval(I('sdk_version', 0)); $sdkVersion = intval(I('sdk_version', 0));
$serverId = intval(I('server_id'), 0); $serverId = intval(I('server_id'), 0);
@ -1216,13 +1217,13 @@ class QueryController extends BaseController
$parameter['level_promote_4'] = $levelPromote[2]; $parameter['level_promote_4'] = $levelPromote[2];
$parameter['begtime'] = $initBegTime; $parameter['begtime'] = $initBegTime;
$parameter['endtime'] = $initEndTime; $parameter['endtime'] = $initEndTime;
$parameter['own_id'] = $ownId;
$parameter['p'] = $page; $parameter['p'] = $page;
$parameter['row'] = $row; $parameter['row'] = $row;
$loginPromote = $this->getLoginPromote(); $loginPromote = $this->getLoginPromote();
$map = []; $map = [];
$ownId = intval(I('own_id'), 0);//本账号
if ($ownId) { if ($ownId) {
$map['a.promote_id'] = $queryPromote['id']; $map['a.promote_id'] = $queryPromote['id'];
$params['promote_ids'] = $queryPromote['id']; $params['promote_ids'] = $queryPromote['id'];

@ -81,7 +81,7 @@
<div class="form-group normal_space"> <div class="form-group normal_space">
<select id="relation_game_id" name="relation_game_id" class="reselect select_gallery"> <select id="relation_game_id" name="relation_game_id" class="reselect select_gallery">
<option value="">请选择游戏</option> <option value="0">请选择游戏</option>
<volist name=":get_promote_serach_game()" id="vo"> <volist name=":get_promote_serach_game()" id="vo">
<option value="{$vo.relation_game_id}" title="{$vo.relation_game_name}">{$vo.relation_game_name}</option> <option value="{$vo.relation_game_id}" title="{$vo.relation_game_name}">{$vo.relation_game_name}</option>
</volist> </volist>
@ -99,7 +99,7 @@
<div class="form-group normal_space"> <div class="form-group normal_space">
<select id="server_id" name="server_id" class=" reselect select_gallery"> <select id="server_id" name="server_id" class=" reselect select_gallery">
<option value="">请选择区服</option> <option value="0">请选择区服</option>
<volist name="serverData" id="vo"> <volist name="serverData" id="vo">
<option value="{$vo.server_id}">{$vo.server_name}</option> <option value="{$vo.server_id}">{$vo.server_name}</option>
</volist> </volist>

Loading…
Cancel
Save