'修改配置文件'

dev-discount
199901012 4 years ago
parent 3cab9c74f3
commit 3cc101603a
  1. 2
      hai-bweb/src/main/resources/dev/application.yml
  2. 2
      hai-bweb/src/main/resources/prod/application.yml
  3. 4
      hai-cweb/src/main/java/com/cweb/config/AuthConfig.java
  4. 2
      hai-cweb/src/main/resources/dev/application.yml

@ -4,7 +4,7 @@ server:
context-path: /brest
#配置是否为debug模式,debug模式下,不开启权限校验
debug: true
debug: false
#datasource数据源设置
spring:

@ -1,7 +1,7 @@
server:
port: 9302
servlet:
context-path: /crest
context-path: /brest
#配置是否为debug模式,debug模式下,不开启权限校验
debug: false

@ -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")
;
}

@ -4,7 +4,7 @@ server:
context-path: /crest
#配置是否为debug模式,debug模式下,不开启权限校验
debug: true
debug: false
#datasource数据源设置
spring:

Loading…
Cancel
Save