后台服务
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.

72 rivejä
1.6 KiB

  1. server:
  2. port: 5200
  3. servlet:
  4. context-path: /S
  5. spring:
  6. application:
  7. name: suimang
  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. location: /mnt/tmp
  19. cache:
  20. type: REDIS
  21. cache-names: redis_cache #缓存的名字(可以不指定)
  22. redis:
  23. time-to-live: 60000ms #很重要,缓存的有效时间,以便缓存的过期(单位为毫秒)
  24. # rocketmq:
  25. # nameServer: 127.0.0.1:9876
  26. # producer:
  27. # retry-times-when-send-async-failed: 0
  28. # send-msg-timeout: 300000
  29. # compress-msg-body-over-howmuch: 4096
  30. # max-message-size: 4194304
  31. # retry-another-broker-when-not-store-ok: false
  32. # retry-times-when-send-failed: 2
  33. # rabbitmq:
  34. # host: 127.0.0.1
  35. # port: 5672
  36. # username: guest
  37. # password: guest
  38. # publisher-confirms: true
  39. # virtual-host: /
  40. # MybatisPlus
  41. mybatis-plus:
  42. mapper-locations: classpath:mapper/*Mapper.xml
  43. global-config:
  44. db-config:
  45. id-type: id_worker
  46. field-strategy: not_null
  47. db-type: mysql
  48. configuration:
  49. jdbc-type-for-null: 'null'
  50. cache-enabled: false
  51. call-setters-on-nulls: true
  52. type-aliases-package: com.iformall.domain.po
  53. type-enums-package: com.iformall.enums
  54. # PageHelper
  55. pagehelper:
  56. helperDialect: mysql
  57. reasonable: false
  58. supportMethodsArguments: true
  59. params: count=countSql
  60. offset-as-page-num: true
  61. page-size-zero: true
  62. row-bounds-with-count: true
  63. mapper:
  64. mappers:
  65. - com.iformall.common.CommonMapper
  66. version: @project.version@