application.yml 965 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Tomcat
  2. server:
  3. tomcat:
  4. uri-encoding: UTF-8
  5. max-threads: 1000
  6. min-spare-threads: 30
  7. port: 9010
  8. #8086
  9. # context-path: /admin
  10. # 单位 KB
  11. max-http-header-size: 100000
  12. # mysql
  13. spring:
  14. # 环境 dev|test|pro
  15. profiles:
  16. active: dev
  17. session:
  18. store-type: none
  19. # jackson时间格式化
  20. jackson:
  21. time-zone: GMT+8
  22. date-format: yyyy-MM-dd HH:mm:ss
  23. http:
  24. multipart:
  25. max-file-size: 100MB
  26. max-request-size: 100MB
  27. enabled: true
  28. # 指定静态资源的路径
  29. #新加 开启Aop代理
  30. aop:
  31. proxy-target-class: true
  32. system:
  33. app:
  34. name: "erp"
  35. desc: "ERP"
  36. platform:
  37. redis:
  38. open: false
  39. shiro:
  40. redis: false
  41. # APP模块,是通过jwt认证的,如果要使用APP模块,则需要修改【加密秘钥】
  42. jwt:
  43. # 加密秘钥
  44. secret: f4e2e52034348f86b67cde581c0f9eb5[io.platform]
  45. # token有效时长,7天,单位秒
  46. expire: 604800
  47. header: token