application.yml 951 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ################### 服务端 配置 ####################
  2. server:
  3. port: 8082
  4. ################## 各种奇怪的开关 ###################
  5. zen:
  6. swagger-open: true # swagger-ui是否开启
  7. ################### spring配置 ###################
  8. spring:
  9. profiles:
  10. active: dev
  11. include: orm,mq,cache,umps,platform,job
  12. # redis:
  13. # host: localhost
  14. # port: 6379
  15. # password:
  16. http:
  17. converters:
  18. preferred-json-mapper: fastjson
  19. multipart:
  20. max-request-size: 10MB #最大请求大小
  21. max-file-size: 10MB #最大文件大小
  22. enabled: true
  23. aop:
  24. proxy-target-class: true #false为启用jdk默认动态代理,true为cglib动态代理
  25. auto: true
  26. jackson:
  27. deserialization:
  28. fail-on-unknown-properties: false # 多余字段反序列化过滤
  29. logging:
  30. level:
  31. root: info
  32. com.gxzc.zen: debug
  33. com.xxl.job.core: warn
  34. com.atomikos: warn
  35. path: logs/
  36. file: zen.log
  37. #debug: true