You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

application.yml 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: sample
  6. messages:
  7. basename: ValidationMessages_zh
  8. jpa:
  9. database-platform: org.hibernate.dialect.MySQL8Dialect
  10. open-in-view: false
  11. logging:
  12. config: classpath:logback-spring.xml
  13. server:
  14. port: 8087
  15. servlet:
  16. context-path: /sample/
  17. #如下为工程自定义的参数
  18. app:
  19. nodeNum: 001
  20. #path目录下要放一个comm_client.properties
  21. path: D:/devEnv/sample/ #工程的目录
  22. cache: memory #redis or memory
  23. jwt:
  24. token:
  25. isRepeatRefresh: true #是否可以重复刷新
  26. tokenExpireTime: 30 #token有效时间(分)
  27. refreshTokenExpireTime: 1440 #refresh_token过期时间(分)
  28. encryKey: pleaseChangeIt
  29. login:
  30. ignore-urls:
  31. - acl/auth/getMenu
  32. - acl/auth/hasButton
  33. - common/**
  34. - app/common/**
  35. - sample/**
  36. # - swagger-ui.html
  37. # - webjars/springfox-swagger-ui/
  38. - system/oplog/export/file
  39. - error
  40. # - null/swagger
  41. - swagger**/**
  42. - webjars/**
  43. - v3/**
  44. - doc.html
  45. cors:
  46. enable: true
  47. swagger:
  48. enable: true
  49. task:
  50. #全局是否启动定时器参数,默认值OPTION,取值说明如下。
  51. # NONE:都不启动
  52. # NONE_EXCEPT不启动除了EXCEPT,
  53. # OPTION:取决于taskInfo的autoStart参数
  54. # ALL:全部启动
  55. globalAutoStart: NONE_EXCEPT
  56. # 当globalAutoStart取值NONE_EXCEPT时,该参数才有效。该参数包含的task会自动启动
  57. noneExceptList:
  58. - SAMPLE