【代码优化】全局:去除 application.yaml 相关配置文件的冗余
							parent
							
								
									43363c1167
								
							
						
					
					
						commit
						d78d15215a
					
				| 
						 | 
				
			
			@ -130,15 +130,8 @@ logging:
 | 
			
		|||
yudao:
 | 
			
		||||
  env: # 多环境的配置项
 | 
			
		||||
    tag: ${HOSTNAME}
 | 
			
		||||
  captcha:
 | 
			
		||||
    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 的请求
 | 
			
		||||
  access-log: # 访问日志的配置项
 | 
			
		||||
    enable: false
 | 
			
		||||
  demo: false # 关闭演示模式
 | 
			
		||||
		Loading…
	
		Reference in New Issue