application.yml 944 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Tomcat
  2. server:
  3. tomcat:
  4. uri-encoding: UTF-8
  5. max-threads: 1000
  6. min-spare-threads: 30
  7. port: 8503
  8. spring:
  9. # 环境 dev|test|pro
  10. profiles:
  11. active: dev
  12. session:
  13. store-type: none
  14. # jackson时间格式化
  15. jackson:
  16. time-zone: GMT+8
  17. date-format: yyyy-MM-dd HH:mm:ss
  18. http:
  19. multipart:
  20. max-file-size: 100MB
  21. max-request-size: 100MB
  22. enabled: true
  23. # 指定静态资源的路径
  24. system:
  25. app:
  26. name: "sailun-allsteel"
  27. desc: "赛轮全钢app rest"
  28. platform:
  29. redis:
  30. open: false
  31. shiro:
  32. redis: false
  33. # APP模块,是通过jwt认证的,如果要使用APP模块,则需要修改【加密秘钥】
  34. jwt:
  35. # 加密秘钥
  36. secret: f4e2e52034348f86b67cde581c0f9eb5[io.platform]
  37. # token有效时长,7天,单位秒
  38. expire: 604800
  39. header: token