财务管理加入权限判断

master
ELF 5 years ago
parent 22addc182c
commit 0f5e3944c0

@ -16,6 +16,9 @@ class BaseController extends HomeController
'Home/Players/playAction', 'Home/Players/playAction',
'Home/Query/userRecharges', 'Home/Query/userRecharges',
'Home/Query/arpu', 'Home/Query/arpu',
'Home/Finance/index',
'Home/Finance/settlementDtl',
'Home/Finance/withdrawRecord',
]; ];
protected function _initialize() protected function _initialize()

@ -75,7 +75,7 @@
</div> </div>
<?php endif;?> <?php endif;?>
<?php if ($loginer['level'] == 1) :?> <?php if ($canViewUserRecharge && $loginer['level'] == 1) :?>
<div class="subNav jssubNav"><i class="prev_icon icon_caiwu"></i><span>财务管理</span><i class="arrow_icon"></i></div> <div class="subNav jssubNav"><i class="prev_icon icon_caiwu"></i><span>财务管理</span><i class="arrow_icon"></i></div>
<div class="navContent jsnavContent"> <div class="navContent jsnavContent">
<a href="{:U('Finance/index')}" class="<if condition='CONTROLLER_NAME eq Finance and ACTION_NAME eq index '>active</if> ">结算中心</a> <a href="{:U('Finance/index')}" class="<if condition='CONTROLLER_NAME eq Finance and ACTION_NAME eq index '>active</if> ">结算中心</a>

Loading…
Cancel
Save