优化代码
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
#######默认配置(/org/beetl/core/beetl-default.properties)
|
||||
ENGINE=org.beetl.core.engine.FastRuntimeEngine
|
||||
DELIMITER_PLACEHOLDER_START=${
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -406,7 +406,6 @@ logging:
|
||||
#
|
||||
# # URI 权限过滤器定义
|
||||
# filterChainDefinitions: |
|
||||
# /ReportServer/** = user
|
||||
# ${adminPath}/** = user
|
||||
|
||||
# Session 相关
|
||||
|
||||
Reference in New Issue
Block a user