游戏充值和平台币充值数据展示权限

master
liuweiwen 5 years ago
parent 2a4e3944ec
commit 3f5739c1d7

@ -140,7 +140,8 @@ class DepositController extends ThinkController {
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/lists','status'=>1])->find());
$this->assign("is_admin",is_administrator());
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
$this->assign('show_data_power', $show_data_power);
parent::lists(self::model_name,$_GET["p"],$map);
}

@ -142,25 +142,34 @@
<else />
<volist name="list_data" id="data">
<tr>
<td>{:$data['pay_order_number']}</td>
<td>
<!-- <if condition="$is_admin eq true ">
<if condition="$show_data_power eq true ">
{$data.pay_order_number}
<else />
{$data.pay_order_number|encryptStr}
</if>
</td>
<td>
<if condition="$show_data_power eq true ">
{$data.user_account}
<else />
{$data.user_account|encryptStr}
</if>-->
{$data.user_account}
</if>
</td>
<td>
<if condition="$data['promote_account'] eq '自然注册'">
<if condition="$show_data_power eq true ">
官方渠道
<else />
<!--<if condition="$is_admin eq true ">
官*******道
</if>
<else/>
<if condition="$show_data_power eq true ">
{$data.promote_account}
<else />
{$data.promote_account|encryptStr}
</if>-->
{$data.promote_account}
</if>
</if>
</td>
<td><span>{$data.pay_amount}</span></td>

@ -173,16 +173,27 @@
<else/>
<volist name="list_data" id="data">
<tr>
<td>{$data.pay_order_number}</td>
<td>{$data.extend}</td>
<td>
<if condition="$show_data_power eq true ">
{$data.pay_order_number}
<else />
{$data.pay_order_number|encryptStr}
</if>
</td>
<td>
<if condition="$show_data_power eq true ">
{$data.extend}
<else />
{$data.extend|encryptStr}
</if>
</td>
<td>{:set_show_time($data['pay_time'])}</td>
<td>
<!-- <if condition="$is_admin eq true ">
<if condition="$show_data_power eq true ">
{$data.user_account}
<else />
{$data.user_account|encryptStr}
</if>-->
{$data.user_account}
</if>
<gt name="data.small_id" value="0"><neq name="data.small_id" value="$data.user_id">{$data.small_account}</neq></gt></td>
<td>{$data.game_name}</td>
<td>

Loading…
Cancel
Save