From 3493a1f3ee3010cdca1013dd11c97e551101df58 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期四, 26 十二月 2024 17:21:12 +0800 Subject: [PATCH] add:阿里云短信模板获取签名和模板信息2 --- src/main/java/com/mzl/flower/config/ResourceServerConfig.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mzl/flower/config/ResourceServerConfig.java b/src/main/java/com/mzl/flower/config/ResourceServerConfig.java index 73cb25a..566cc62 100644 --- a/src/main/java/com/mzl/flower/config/ResourceServerConfig.java +++ b/src/main/java/com/mzl/flower/config/ResourceServerConfig.java @@ -37,7 +37,9 @@ httpSecurity .authorizeRequests() .antMatchers("/api/login/**").permitAll() + .antMatchers("/api/wx/jscode2session").permitAll() .antMatchers("/api/pub/**").permitAll() + .antMatchers("/api/advertisement/**").permitAll() .antMatchers("/api/ua/**").permitAll() .antMatchers("/api/code/value").permitAll() .antMatchers("/api/code/multiple").permitAll() @@ -57,6 +59,8 @@ .antMatchers("/api/config/content/list/view").permitAll() .antMatchers("/api/v2/coupon/home/alert").permitAll() .antMatchers("/api/customer/partner/name").permitAll() + .antMatchers("/api/v2/coupon/app/home/alert").permitAll() + .antMatchers("/v2/config-param/base/info").permitAll() .antMatchers("/api/**").authenticated();//配置访问控制,必须认证过后才可以访问 } -- Gitblit v1.9.3