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

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('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/lists','status'=>1])->find());
$this->assign("is_admin",is_administrator()); $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); parent::lists(self::model_name,$_GET["p"],$map);
} }

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

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

Loading…
Cancel
Save