优化代码

This commit is contained in:
thinkgem
2019-09-11 11:44:38 +08:00
parent c5c4d574de
commit 159a0eaec2
4 changed files with 2 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
#######默认配置(/org/beetl/core/beetl-default.properties
ENGINE=org.beetl.core.engine.FastRuntimeEngine
DELIMITER_PLACEHOLDER_START=${

View File

@@ -384,11 +384,11 @@ shiro:
# ${adminPath}/sys/corpAdmin/treeData = anon
# ${adminPath}/** = user
filterChainDefinitions: |
/ReportServer/** = user
${adminPath}/** = user
# 默认的授权过滤定义如果在filterChainDefinitions中已经定义则该定义会被覆盖。
defaultFilterChainDefinitions: |
/validCode = anon
/static/** = anon
/userfiles/** = anon
/druid/** = perms[sys:state:druid]

View File

@@ -11,7 +11,7 @@ if (isBlank(message)){
if (@StringUtils.startsWith(e.message!, "msg:")){
message = @StringUtils.replace(e.message!, "msg:", "");
break;
}else if (e.class.name! == 'com.jeesite.common.service.ServiceException'){
}else if (type.name(e) == 'ServiceException'){
message = e.message!;
break;
}

View File

@@ -406,7 +406,6 @@ logging:
#
# # URI 权限过滤器定义
# filterChainDefinitions: |
# /ReportServer/** = user
# ${adminPath}/** = user
# Session 相关