|
|
@ -51,7 +51,7 @@ class AdminController extends Controller {
|
|
|
|
if(CONTROLLER_NAME !== "Ajax"){//ajax放行
|
|
|
|
if(CONTROLLER_NAME !== "Ajax"){//ajax放行
|
|
|
|
//检测访问权限
|
|
|
|
//检测访问权限
|
|
|
|
$rule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME);
|
|
|
|
$rule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME);
|
|
|
|
if($rule == "admin/statistics/overview"){//第一级菜单单独判断
|
|
|
|
if($rule == "admin/statistics/overview"||$rule == "admin/spend/lists"){//第一级菜单单独判断
|
|
|
|
|
|
|
|
|
|
|
|
$this->strictCheckRule($rule);
|
|
|
|
$this->strictCheckRule($rule);
|
|
|
|
|
|
|
|
|
|
|
|