From 5b275c38c82bd54496dc2b2d268cde1ec9ec2b29 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期日, 29 十二月 2024 14:58:23 +0800
Subject: [PATCH] 1.行政区划:(高德、腾讯)相关修改

---
 src/main/java/com/mzl/flower/config/ResourceServerConfig.java |    8 ++++++++
 1 files changed, 8 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 c77de72..ac8a6c5 100644
--- a/src/main/java/com/mzl/flower/config/ResourceServerConfig.java
+++ b/src/main/java/com/mzl/flower/config/ResourceServerConfig.java
@@ -37,7 +37,11 @@
         httpSecurity
                 .authorizeRequests()
                 .antMatchers("/api/login/**").permitAll()
+                .antMatchers("/api/wx/getuserphonenumber").permitAll()
+                .antMatchers("/api/wx/jscode2session").permitAll()
+                .antMatchers("/api/wx/getExistUserByOpenId").permitAll()
                 .antMatchers("/api/pub/**").permitAll()
+                .antMatchers("/api/advertisement/**").permitAll()
                 .antMatchers("/api/ua/**").permitAll()
                 .antMatchers("/api/code/value").permitAll()
                 .antMatchers("/api/code/multiple").permitAll()
@@ -51,10 +55,14 @@
                 .antMatchers("/api/customer/flower/list/view").permitAll()
                 .antMatchers("/api/customer/flower/up/stock").permitAll()
                 .antMatchers("api/pub/customer/home/**").permitAll()
+                .antMatchers("/api/customer/point/goods/**").permitAll()
                 .antMatchers("/api/upload/oss/file").permitAll()
                 .antMatchers("/api/flower/zone/list").permitAll()
                 .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