优化代码
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#######默认配置(/org/beetl/core/beetl-default.properties)
|
#######默认配置(/org/beetl/core/beetl-default.properties)
|
||||||
ENGINE=org.beetl.core.engine.FastRuntimeEngine
|
ENGINE=org.beetl.core.engine.FastRuntimeEngine
|
||||||
DELIMITER_PLACEHOLDER_START=${
|
DELIMITER_PLACEHOLDER_START=${
|
||||||
|
|||||||
@@ -384,11 +384,11 @@ shiro:
|
|||||||
# ${adminPath}/sys/corpAdmin/treeData = anon
|
# ${adminPath}/sys/corpAdmin/treeData = anon
|
||||||
# ${adminPath}/** = user
|
# ${adminPath}/** = user
|
||||||
filterChainDefinitions: |
|
filterChainDefinitions: |
|
||||||
/ReportServer/** = user
|
|
||||||
${adminPath}/** = user
|
${adminPath}/** = user
|
||||||
|
|
||||||
# 默认的授权过滤定义,如果在filterChainDefinitions中已经定义,则该定义会被覆盖。
|
# 默认的授权过滤定义,如果在filterChainDefinitions中已经定义,则该定义会被覆盖。
|
||||||
defaultFilterChainDefinitions: |
|
defaultFilterChainDefinitions: |
|
||||||
|
/validCode = anon
|
||||||
/static/** = anon
|
/static/** = anon
|
||||||
/userfiles/** = anon
|
/userfiles/** = anon
|
||||||
/druid/** = perms[sys:state:druid]
|
/druid/** = perms[sys:state:druid]
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if (isBlank(message)){
|
|||||||
if (@StringUtils.startsWith(e.message!, "msg:")){
|
if (@StringUtils.startsWith(e.message!, "msg:")){
|
||||||
message = @StringUtils.replace(e.message!, "msg:", "");
|
message = @StringUtils.replace(e.message!, "msg:", "");
|
||||||
break;
|
break;
|
||||||
}else if (e.class.name! == 'com.jeesite.common.service.ServiceException'){
|
}else if (type.name(e) == 'ServiceException'){
|
||||||
message = e.message!;
|
message = e.message!;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -406,7 +406,6 @@ logging:
|
|||||||
#
|
#
|
||||||
# # URI 权限过滤器定义
|
# # URI 权限过滤器定义
|
||||||
# filterChainDefinitions: |
|
# filterChainDefinitions: |
|
||||||
# /ReportServer/** = user
|
|
||||||
# ${adminPath}/** = user
|
# ${adminPath}/** = user
|
||||||
|
|
||||||
# Session 相关
|
# Session 相关
|
||||||
|
|||||||
Reference in New Issue
Block a user