订单查询 注册明细 管理员后台游戏添加混服设置

master
chenxiaojun 5 years ago
commit 35df2c87aa

@ -75,6 +75,20 @@
<span class="notice-text">显示该游戏所适用的平台,一般为安卓平台和苹果平台</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">混服设置</td>
<td class="r table_radio">
<span class="form_radio table_btn">
<label>
<input type="radio" class="inp_radio" value="1" name="server_type" checked> 专服
</label>
<label>
<input type="radio" class="inp_radio" value="2" name="server_type"> 混服
</label>
</span>
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">开放类型</td>
<td class="r table_radio">

@ -74,6 +74,21 @@
<span class="notice-text">显示该游戏所适用的平台,一般为安卓平台和苹果平台</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">混服设置</td>
<td class="r table_radio">
<span class="form_radio table_btn">
<label>
<eq name="data.server_type" value="1">
<input type="radio" class="inp_radio" value="1" name="server_type" checked> 专服
<else/>
<input type="radio" class="inp_radio" value="2" name="server_type" checked> 混服
</eq>
</label>
</span>
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">开放类型</td>
<td class="r table_radio">

@ -194,9 +194,8 @@ class ApplyController extends BaseController
$this->assign('type', $type);
$this->assign('myGame', ($serverType == 1) ? 'specialMyGameList' : 'myGameList');
$this->assign('game', ($serverType == 1) ? 'gameSpecialList' : 'gameList');
$this->assign('position', ($serverType == 1) ? '专服管理' : '混服管理');
$this->meta_title = "申请游戏";
$this->display('index');
}
@ -595,6 +594,7 @@ class ApplyController extends BaseController
$this->assign('serverType', $serverType);
$this->assign('myGame', ($serverType == 1) ? 'specialMyGameList' : 'myGameList');
$this->assign('game', ($serverType == 1) ? 'gameSpecialList' : 'gameList');
$this->assign('position', ($serverType == 1) ? '专服管理' : '混服管理');
$this->meta_title = "我的游戏";
$this->display('my_game');
}

@ -15,15 +15,15 @@ class GameDivideController extends BaseController
//首页
public function index()
{
$parentId = getParentPromoteId(PID);
$parentId = getParentPromoteId(PID);//上级ID
if ($parentId > 0) {
$this->error('权限异常');
}
$securityCode = empty(session('game_divide_second_pwd')) ? '' : session('game_divide_second_pwd');
$securityCode = empty(session('game_divide_second_pwd')) ? '' : session('game_divide_second_pwd');//安全密码
$model = new PromoteApi();
$res = $model->verify_er_User(PID, $securityCode);
if (!empty($securityCode) && $res) {
$res = $model->verify_er_User(PID, $securityCode);//验证安全密码
if ($res) {
$map['tab_game.online_status'] = 1;//开发者游戏上线状态
$map['tab_game.down_port'] = 1;//游戏端口 第三方接口不能申请
$map['tab_game.game_status'] = 1;//游戏状态
@ -83,6 +83,7 @@ class GameDivideController extends BaseController
$this->display();
}
//验证安全密码
public function verifyPassword()
{
$password = I('post.password');
@ -94,13 +95,11 @@ class GameDivideController extends BaseController
$data['status'] = 1;
$data['msg'] = '验证成功';
$this->ajaxReturn($data);
} else {
$data['status'] = 0;
$data['msg'] = '安全密码不正确';
$this->ajaxReturn($data);
}
$this->ajaxReturn($data);
}
}

@ -99,7 +99,7 @@ class QueryController extends BaseController
$map['tab_spend.is_check'] = ['neq', 2];
$data = M('Spend', 'tab_')
->field('tab_spend.*,tab_promote.account as pro_account,tab_promote.real_name as pro_real_name,tab_promote.grand_id as pro_grand_id')
->field('tab_spend.*,tab_promote.account as pro_account,tab_promote.real_name as pro_real_name,tab_promote.grand_id as pro_grand_id,tab_promote.parent_id as pro_parent_id')
->join('tab_game on tab_spend.game_id = tab_game.id')
->join('left join tab_promote on tab_spend.promote_id = tab_promote.id')
->where($map)
@ -114,6 +114,14 @@ class QueryController extends BaseController
if (!empty($data)) {
foreach ($data as &$list) {
if ($list['pro_grand_id'] > 0) {
$thisPromoteData = D('Promote')
->field('account,real_name')
->where(array('id' => $list['pro_parent_id']))
->find();
$list['p_pro_account'] = $thisPromoteData['account'];
$list['p_pro_real_name'] = $thisPromoteData['real_name'];
}
$list['user_account'] = substr($list['user_account'], 0, 2) . '******' . substr($list['user_account'], 8);
}
}
@ -148,7 +156,7 @@ class QueryController extends BaseController
$this->assign('pID', PID);
$this->assign('ownId', I('own_id'));
$this->assign('payWayData', QueryController::$payWay);
$this->meta_title = "充值明细";
$this->meta_title = "订单查询";
$this->display();
}
@ -1880,6 +1888,7 @@ class QueryController extends BaseController
}
$this->assign('list_data', $spendData);
$this->meta_title = "订单详情";
$this->display('view_spend_detailed');
}
}

@ -108,7 +108,7 @@
<div class="page-list normal_list apply-index-list">
<div class="trunk-title">
<div class="location">
<div class="location-container">当前位置:<span>游戏管理></span><span>游戏列表</span></div>
<div class="location-container">当前位置:<span>游戏管理></span><span>{$position}</span></div>
</div>
<img src="__IMG__/20180207/icon_normal_game.png"><span class="title_main">游戏列表</span>
</div>

@ -92,9 +92,9 @@
<div class="page-list normal_list apply-my_game-list">
<div class="trunk-title">
<div class="location">
<div class="location-container">当前位置:<span>游戏管理></span><span>我的游戏</span></div>
<div class="location-container">当前位置:<span>游戏管理></span><span>{$position}</span></div>
</div>
<img src="__IMG__/20180207/icon_normal_game.png"><span class="title_main">游戏列表</span>
<img src="__IMG__/20180207/icon_normal_game.png"><span class="title_main">我的游戏</span>
</div>
<div class="trunk-content article">
<div class="trunk-search clearfix">

@ -245,7 +245,7 @@
</div>
</div>
<else/>
<div class="trunk-search clearfix" style="display: grid;">
<div class="trunk-search clearfix" style="display: table-caption;">
<div class="tab detailed-box" style="margin-top: 40px;align-items: center;">
<label class="detailed-title detailed-label" style="margin-right: 20px;">安全密码:</label>
<div class="detailed-content-box">
@ -310,6 +310,10 @@
}
});
});
$('.btn-security-close').on('click', function () {
window.location.href = "{:U('Promote/index')}";
});
});
</script>
</block>

@ -47,12 +47,12 @@
<a href="{:U('Promote/mygrand')}" class="<if condition='CONTROLLER_NAME eq Promote and (ACTION_NAME eq mygrand or ACTION_NAME eq add_chlid or ACTION_NAME eq edit_chlid) '>active</if> ">推广员管理</a>
</if>
</div>
<!-- <div class="subNav jssubNav"><i class="prev_icon icon_shujvi"></i><span>数据管理</span><i class="arrow_icon"></i></div>-->
<!-- <div class="navContent jsnavContent">-->
<!-- <a href="{:U('Query/dailySummary')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq dailySummary '>active</if> ">每日概况</a>-->
<!-- <a href="{:U('Query/summary')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq summary '>active</if> ">数据汇总</a>-->
<!-- <a href="{:U('Query/recharge')}" class="<if condition='CONTROLLER_NAME eq Query and (ACTION_NAME eq recharge or ACTION_NAME eq viewSpendDetailed) '>active</if> ">充值明细</a>-->
<!-- <a href="{:U('Query/register')}" class="<if condition='CONTROLLER_NAME eq Query and (ACTION_NAME eq register or ACTION_NAME eq viewRole) '>active</if> ">注册明细</a>-->
<div class="subNav jssubNav"><i class="prev_icon icon_shujvi"></i><span>数据管理</span><i class="arrow_icon"></i></div>
<div class="navContent jsnavContent">
<a href="{:U('Query/dailySummary')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq dailySummary '>active</if> ">每日概况</a>
<a href="{:U('Query/summary')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq summary '>active</if> ">数据汇总</a>
<a href="{:U('Query/recharge')}" class="<if condition='CONTROLLER_NAME eq Query and (ACTION_NAME eq recharge or ACTION_NAME eq viewSpendDetailed) '>active</if> ">订单查询</a>
<a href="{:U('Query/register')}" class="<if condition='CONTROLLER_NAME eq Query and (ACTION_NAME eq register or ACTION_NAME eq viewRole) '>active</if> ">注册明细</a>
<!-- <a href="{:U('Query/arpu_analysis')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq arpu_analysis '>active</if> ">ARPU统计</a>-->
<!-- <a href="{:U('Query/retention_analysis')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq retention_analysis '>active</if> ">留存统计</a>-->
<!-- <a href="{:U('Query/userRoles')}" class="<if condition='CONTROLLER_NAME eq Query and ACTION_NAME eq userRoles '>active</if> ">角色查询</a>-->
@ -66,7 +66,7 @@
<!-- <lt name="Think.const.PRO_GRADE" value="3"> -->
<!-- <a href="{:U('Query/son_earning')}" class="<if condition='CONTROLLER_NAME eq Query and (ACTION_NAME eq son_earning or ACTION_NAME eq son_list)'>active</if> ">子渠道结算</a> -->
<!-- </lt> -->
<!-- </div> -->
</div>
<div class="subNav jssubNav"><i class="prev_icon icon_fenbao"></i><span>游戏管理</span><i class="arrow_icon"></i></div>
<div class="navContent jsnavContent">
<!-- <a href="{:U('Apply/app_index')}" class="<if condition='CONTROLLER_NAME eq Apply and ACTION_NAME eq app_index '>active</if> ">APP列表</a>-->

@ -55,11 +55,11 @@
<div class="page-search normal_list query-recharge-search">
<div class="trunk-title">
<div class="location">
<div class="location-container">当前位置:<span>数据管理></span><span>充值明细</span></div>
<div class="location-container">当前位置:<span>数据管理></span><span>订单查询</span></div>
</div>
<img src="__IMG__/20180207/icon_chongzhi.png">
<span class="title_main">充值明细</span>
<span class="details">对所有渠道用户玩家产生的充值信息,进行记录的功能</span>
<span class="title_main">订单数据</span>
<span class="details">对所有渠道用户玩家产生的订单信息,进行记录的功能</span>
</div>
<div class="trunk-content article">
<div class="trunk-search clearfix">
@ -175,8 +175,8 @@
<tr class="odd">
<th>玩家账号</th>
<th>游戏订单</th>
<th>订单金额</th>
<th>支付方式</th>
<th>订单金额</th>
<th>游戏名称</th>
<th>区服</th>
<th>角色名</th>
@ -199,17 +199,17 @@
<tr class="num2">
<td>{$vo.user_account}</td>
<td>{$vo.order_number}</td>
<td>{$vo.pay_amount}</td>
<td>{:get_pay_way($vo['pay_way'])}</td>
<td>{$vo.pay_amount}</td>
<td>{$vo.game_name}</td>
<td>{$vo.server_name}</td>
<td>{$vo.game_player_name}</td>
<empty name="ownId">
<empty name="vo.pro_grand_id">
<td>{$vo.pro_account}({$vo.pro_real_name})</td>
<td></td>
<td>{$vo.pro_account}({$vo.pro_real_name})</td>
<else/>
<td></td>
<td>{$vo.p_pro_account}({$vo.p_pro_real_name})</td>
<td>{$vo.pro_account}({$vo.pro_real_name})</td>
</empty>
</empty>

@ -33,7 +33,7 @@
</div>
<div class="trunk-title">
<div class="location">
<div class="location-container">当前位置:<span>数据管理></span><span>充值明细></span><span>查看详细</span></div>
<div class="location-container">当前位置:<span>数据管理></span><span>订单查询></span><span>查看详细</span></div>
</div>
<span class="title_main">订单详情</span>
</div>

Loading…
Cancel
Save