Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 

75 wiersze
1.6 KiB

  1. server:
  2. port: 9000
  3. servlet:
  4. context-path: /
  5. spring:
  6. application:
  7. name: mallink
  8. profiles:
  9. active: dev
  10. jackson:
  11. date-format: yyyy-MM-dd HH:mm:ss
  12. time-zone: GMT+8
  13. default-property-inclusion: non_null
  14. servlet:
  15. multipart:
  16. max-file-size: 2MB
  17. max-request-size: 2MB
  18. cache:
  19. type: REDIS
  20. cache-names: redis_cache #缓存的名字(可以不指定)
  21. redis:
  22. time-to-live: 60000ms #很重要,缓存的有效时间,以便缓存的过期(单位为毫秒)
  23. rocketmq:
  24. nameServer: 202.165.179.86:9876
  25. producer:
  26. retry-times-when-send-async-failed: 0
  27. send-msg-timeout: 300000
  28. compress-msg-body-over-howmuch: 4096
  29. max-message-size: 4194304
  30. retry-another-broker-when-not-store-ok: false
  31. retry-times-when-send-failed: 2
  32. rabbitmq:
  33. host: 202.165.179.86
  34. port: 5672
  35. username: guest
  36. password: guest
  37. publisher-confirms: true
  38. virtual-host: /
  39. # @{link} https://github.com/abel533
  40. #Mybatis
  41. mybatis:
  42. type-aliases-package: com.iformall.domain.po
  43. mapper-locations: classpath:mapper/*Mapper.xml
  44. configuration:
  45. map-underscore-to-camel-case: true
  46. cache-enabled: true
  47. lazy-loading-enabled: true
  48. use-generated-keys: true
  49. default-fetch-size: 100
  50. default-statement-timeout: 10
  51. #PageHelper
  52. pagehelper:
  53. helperDialect: mysql
  54. reasonable: false
  55. supportMethodsArguments: true
  56. params: count=countSql
  57. offset-as-page-num: true
  58. page-size-zero: true
  59. row-bounds-with-count: true
  60. mapper:
  61. mappers:
  62. - com.iformall.common.CommonMapper
  63. pay:
  64. real: true
  65. version: @project.version@