订单查询订单信息隐藏,扶持号管理更名为测试号管理

master
zhengyongxing 5 years ago
parent 04e53e2329
commit e5d425cd47

@ -153,6 +153,21 @@ class QueryController extends BaseController
}
$list['user_account'] = substr($list['user_account'], 0, 2) . '******' . substr($list['user_account'], 8);
//订单隐藏算法
$orderLen = strlen($list['order_number']);
$strLen = 4;
$hideChar = '';
if($orderLen <=8) {
$strLen = 2;
}
for($i = 0;$i<$orderLen-$strLen*2;$i++) {
$hideChar .='*';
}
$list['order_number'] = substr($list['order_number'], 0, $strLen) . $hideChar . substr($list['order_number'], $orderLen-$strLen);
}
}

@ -104,7 +104,7 @@
<div class="navContent jsnavContent">
<a href="{:U('TestResource/index')}" class="<if condition='CONTROLLER_NAME eq TestResource and (ACTION_NAME eq index or ACTION_NAME eq add or ACTION_NAME eq apply ) '>active</if> ">测试资源申请</a>
<a href="{:U('TestResource/lists')}" class="<if condition='CONTROLLER_NAME eq TestResource and ACTION_NAME eq lists '>active</if> ">测试资源申请记录</a>
<a href="{:U('TestResource/supportNumberList')}" class="<if condition='CONTROLLER_NAME eq TestResource and (ACTION_NAME eq supportNumberList or ACTION_NAME eq freezeSupport or ACTION_NAME eq unfreezeSupport or ACTION_NAME eq rechangePassward ) '>active</if> ">扶持号管理</a>
<a href="{:U('TestResource/supportNumberList')}" class="<if condition='CONTROLLER_NAME eq TestResource and (ACTION_NAME eq supportNumberList or ACTION_NAME eq freezeSupport or ACTION_NAME eq unfreezeSupport or ACTION_NAME eq rechangePassward ) '>active</if> ">测试号管理</a>
<a href="{:U('TestResource/protectLogList')}" class="<if condition='CONTROLLER_NAME eq TestResource and ACTION_NAME eq protectLogList '>active</if> ">日志管理</a>
</div>
<!--<eq name="parent_id" value="0">

@ -166,7 +166,7 @@
<table class="table normal_table">
<tr class="odd">
<th>玩家账号</th>
<!-- <th>游戏订单</th>-->
<th>游戏订单</th>
<th>支付方式</th>
<th>订单金额</th>
<th>游戏名称</th>
@ -189,7 +189,7 @@
<volist name="listData" id="vo">
<tr class="num2">
<td title="玩家ID{$vo.user_id}">{$vo.user_account}</td>
<!-- <td>{$vo.order_number}</td>-->
<td>{$vo.order_number}</td>
<td>{:get_pay_way($vo['pay_way'])}</td>
<td>{$vo.pay_amount}</td>
<td>{$vo.game_name}</td>

Loading…
Cancel
Save