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