mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	【代码优化】全局:去除 application.yaml 相关配置文件的冗余
This commit is contained in:
		@@ -162,17 +162,10 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
 | 
			
		||||
 | 
			
		||||
# 芋道配置项,设置当前项目所有自定义的配置
 | 
			
		||||
yudao:
 | 
			
		||||
  xss:
 | 
			
		||||
    enable: false
 | 
			
		||||
    exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系
 | 
			
		||||
      - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求
 | 
			
		||||
      - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
 | 
			
		||||
  pay:
 | 
			
		||||
    order-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/order # 支付渠道的【支付】回调地址
 | 
			
		||||
    refund-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/refund # 支付渠道的【退款】回调地址
 | 
			
		||||
  demo: true # 开启演示模式
 | 
			
		||||
  wxa-code:
 | 
			
		||||
    env-version: release # 小程序版本: 正式版为 "release";体验版为 "trial";开发版为 "develop"
 | 
			
		||||
  tencent-lbs-key: TVDBZ-TDILD-4ON4B-PFDZA-RNLKH-VVF6E # QQ 地图的密钥 https://lbs.qq.com/service/staticV2/staticGuide/staticDoc
 | 
			
		||||
 | 
			
		||||
justauth:
 | 
			
		||||
 
 | 
			
		||||
@@ -212,11 +212,6 @@ yudao:
 | 
			
		||||
    enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
 | 
			
		||||
  security:
 | 
			
		||||
    mock-enable: true
 | 
			
		||||
  xss:
 | 
			
		||||
    enable: false
 | 
			
		||||
    exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系
 | 
			
		||||
      - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求
 | 
			
		||||
      - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
 | 
			
		||||
  pay:
 | 
			
		||||
    order-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/order # 支付渠道的【支付】回调地址
 | 
			
		||||
    refund-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/refund # 支付渠道的【退款】回调地址
 | 
			
		||||
 
 | 
			
		||||
@@ -199,6 +199,11 @@ yudao:
 | 
			
		||||
  web:
 | 
			
		||||
    admin-ui:
 | 
			
		||||
      url: http://dashboard.yudao.iocoder.cn # Admin 管理后台 UI 的地址
 | 
			
		||||
  xss:
 | 
			
		||||
    enable: false
 | 
			
		||||
    exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系
 | 
			
		||||
      - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求
 | 
			
		||||
      - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
 | 
			
		||||
  security:
 | 
			
		||||
    permit-all_urls:
 | 
			
		||||
      - /admin-api/mp/open/** # 微信公众号开放平台,微信回调接口,不需要登录
 | 
			
		||||
@@ -223,10 +228,6 @@ yudao:
 | 
			
		||||
    email: xingyu4j@vip.qq.com
 | 
			
		||||
    license: MIT
 | 
			
		||||
    license-url: https://gitee.com/zhijiantianya/ruoyi-vue-pro/blob/master/LICENSE
 | 
			
		||||
  captcha:
 | 
			
		||||
    enable: true # 验证码的开关,默认为 true
 | 
			
		||||
  wxa-code:
 | 
			
		||||
    env-version: release # 小程序版本: 正式版为 "release";体验版为 "trial";开发版为 "develop"。默认为 release
 | 
			
		||||
  codegen:
 | 
			
		||||
    base-package: ${yudao.info.base-package}
 | 
			
		||||
    db-schemas: ${spring.datasource.dynamic.datasource.master.name}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user