master
elf 11 months ago
parent 2a17d2d08e
commit 84b9faf862

@ -33,6 +33,18 @@ class BaseController extends HomeController
$loginer = $this->getLoginPromote();
$outPayRules = [
'home/query/rechargemine'
];
$url = strtolower(MODULE_NAME . '/' . CONTROLLER_NAME . '/' . ACTION_NAME);
if (in_array($url, $outPayRules) && !isOutPaySite()) {
die('地址错误');
}
if (isOutPaySite() && !in_array($url, $outPayRules)) {
$this->redirect('Query/rechargeMine');
die();
}
$this->accessLimit($loginer);
// $this->certifiCation();

@ -39,7 +39,7 @@
<div class="subNavBox">
<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/registerMine')}" class="active">注册明细</a>
<a href="{:U('Query/rechargeMine')}" class="active">充值明细</a>
</div>
</div>
</div>

Loading…
Cancel
Save