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

82 line
1.8 KiB

  1. server:
  2. port: 9500
  3. servlet:
  4. context-path: /
  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: 300MB
  17. max-request-size: 1024MB
  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. # FLOWABLE
  40. flowable:
  41. async-executor-activate: false
  42. aop:
  43. proxy-target-class: true
  44. auto: true
  45. flyway:
  46. locations: classpath:/db/migration
  47. baseline-on-migrate: true
  48. baseline-version: 1
  49. # MybatisPlus
  50. mybatis-plus:
  51. mapper-locations: classpath:mapper/*Mapper.xml
  52. global-config:
  53. db-config:
  54. id-type: id_worker
  55. field-strategy: not_null
  56. db-type: mysql
  57. configuration:
  58. jdbc-type-for-null: 'null'
  59. cache-enabled: false
  60. call-setters-on-nulls: true
  61. type-aliases-package: com.iformall.domain.po
  62. type-enums-package: com.iformall.enums
  63. # PageHelper
  64. pagehelper:
  65. helperDialect: mysql
  66. reasonable: false
  67. supportMethodsArguments: true
  68. params: count=countSql
  69. offset-as-page-num: true
  70. page-size-zero: true
  71. row-bounds-with-count: true
  72. mapper:
  73. mappers:
  74. - com.iformall.common.CommonMapper
  75. version: @project.version@