From 4ecc26d08f23f9d6361e4921e27bb6d51b301c8f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 30 Mar 2024 20:27:05 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=EF=BC=9Apromotion=20=E7=9A=84=20Security?= =?UTF-8?q?Configuration=20=E5=91=BD=E5=90=8D=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E5=BD=B1=E5=93=8D=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/security/config/SecurityConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/framework/security/config/SecurityConfiguration.java b/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/framework/security/config/SecurityConfiguration.java index edcaed5e7..61e9cd624 100644 --- a/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/framework/security/config/SecurityConfiguration.java +++ b/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/framework/security/config/SecurityConfiguration.java @@ -9,12 +9,12 @@ import org.springframework.security.config.annotation.web.configurers.AuthorizeH import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer; /** - * Member 模块的 Security 配置 + * Promotion 模块的 Security 配置 */ -@Configuration("memberSecurityConfiguration") +@Configuration("promotionSecurityConfiguration") public class SecurityConfiguration { - @Bean("memberAuthorizeRequestsCustomizer") + @Bean("promotionAuthorizeRequestsCustomizer") public AuthorizeRequestsCustomizer authorizeRequestsCustomizer() { return new AuthorizeRequestsCustomizer() {