From 3cc101603a4311381e88fab25802976172b86e68 Mon Sep 17 00:00:00 2001 From: 199901012 Date: Tue, 30 Mar 2021 00:16:38 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hai-bweb/src/main/resources/dev/application.yml | 2 +- hai-bweb/src/main/resources/prod/application.yml | 2 +- hai-cweb/src/main/java/com/cweb/config/AuthConfig.java | 4 ++++ hai-cweb/src/main/resources/dev/application.yml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hai-bweb/src/main/resources/dev/application.yml b/hai-bweb/src/main/resources/dev/application.yml index 5e945c93..9f6d3fd8 100644 --- a/hai-bweb/src/main/resources/dev/application.yml +++ b/hai-bweb/src/main/resources/dev/application.yml @@ -4,7 +4,7 @@ server: context-path: /brest #配置是否为debug模式,debug模式下,不开启权限校验 -debug: true +debug: false #datasource数据源设置 spring: diff --git a/hai-bweb/src/main/resources/prod/application.yml b/hai-bweb/src/main/resources/prod/application.yml index 502daf13..40d95978 100644 --- a/hai-bweb/src/main/resources/prod/application.yml +++ b/hai-bweb/src/main/resources/prod/application.yml @@ -1,7 +1,7 @@ server: port: 9302 servlet: - context-path: /crest + context-path: /brest #配置是否为debug模式,debug模式下,不开启权限校验 debug: false diff --git a/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java b/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java index 02c98eb3..5b030a04 100644 --- a/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java +++ b/hai-cweb/src/main/java/com/cweb/config/AuthConfig.java @@ -90,6 +90,10 @@ public class AuthConfig implements WebMvcConfigurer { .excludePathPatterns("/**/springfox-swagger-ui/**") .excludePathPatterns("/**/swagger-ui.html") .excludePathPatterns("/login/*") + .excludePathPatterns("/coupon/getCouponList") + .excludePathPatterns("/coupon/getCouponById") + .excludePathPatterns("/highMerchantStore/getMerchantStoreById") + .excludePathPatterns("/highMerchantStore/getStoreListByCoupon") ; } diff --git a/hai-cweb/src/main/resources/dev/application.yml b/hai-cweb/src/main/resources/dev/application.yml index 9fd95874..f740b0a7 100644 --- a/hai-cweb/src/main/resources/dev/application.yml +++ b/hai-cweb/src/main/resources/dev/application.yml @@ -4,7 +4,7 @@ server: context-path: /crest #配置是否为debug模式,debug模式下,不开启权限校验 -debug: true +debug: false #datasource数据源设置 spring: