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: