$authRule = cache('authRule');
if(!$authRule){
$authRule = db('auth_rule')->where('level<2')->order('sort desc')->select();
cache('authRule', $authRule, 3600);
}
$authRule = cache('authRule');
if(!$authRule){
$authRule = db('auth_rule')->where('level<2')->order('sort desc')->select();
cache('authRule', $authRule, 3600);
}