From e883de354f69418e29db5810ac5951a664406cea Mon Sep 17 00:00:00 2001 From: thinkgem Date: Mon, 25 Mar 2024 13:52:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 4 ++-- web-api/src/main/resources/config/application.yml | 4 ++-- web/src/main/resources/config/application.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index d5803e80..afe5de6c 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -420,8 +420,8 @@ shiro: # 是否在登录后生成新的Session(默认false) isGenerateNewSessionAfterLogin: false - # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开 - innerFilterAllowRemoteAddrs: 127.0.0.1 + # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开,完整的IP使用“]”符号结尾 + innerFilterAllowRemoteAddrs: 127.0.0.1] # URI 权限过滤器定义(自定义添加参数时,请不要移除 ${adminPath}/** = user,否则会导致权限异常) # 提示:填写过滤规则,请注意先后顺序,从上到下,先匹配先受用规则,匹配成功后不再继续匹配。 diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 7e88d31c..990cc84e 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -600,8 +600,8 @@ shiro: # # 是否在登录后生成新的Session(默认false) # isGenerateNewSessionAfterLogin: false # -# # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开 -# innerFilterAllowRemoteAddrs: 127.0.0.1 +# # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开,完整的IP使用“]”符号结尾 +# innerFilterAllowRemoteAddrs: 127.0.0.1] # URI 权限过滤器定义(自定义添加参数时,请不要移除 ${adminPath}/** = user,否则会导致权限异常) # 提示:填写过滤规则,请注意先后顺序,从上到下,先匹配先受用规则,匹配成功后不再继续匹配。 diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index cee08acc..644033b5 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -600,8 +600,8 @@ shiro: # # 是否在登录后生成新的Session(默认false) # isGenerateNewSessionAfterLogin: false # -# # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开 -# innerFilterAllowRemoteAddrs: 127.0.0.1 +# # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开,完整的IP使用“]”符号结尾 +# innerFilterAllowRemoteAddrs: 127.0.0.1] # URI 权限过滤器定义(自定义添加参数时,请不要移除 ${adminPath}/** = user,否则会导致权限异常) # 提示:填写过滤规则,请注意先后顺序,从上到下,先匹配先受用规则,匹配成功后不再继续匹配。