|
|
|
@ -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();
|
|
|
|
|