后台服务
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

71 строка
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. cache:
  19. type: REDIS
  20. cache-names: redis_cache #缓存的名字(可以不指定)
  21. redis:
  22. time-to-live: 60000ms #很重要,缓存的有效时间,以便缓存的过期(单位为毫秒)
  23. # rocketmq:
  24. # nameServer: 127.0.0.1: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: 127.0.0.1
  34. # port: 5672
  35. # username: guest
  36. # password: guest
  37. # publisher-confirms: true
  38. # virtual-host: /
  39. # MybatisPlus
  40. mybatis-plus:
  41. mapper-locations: classpath:mapper/*Mapper.xml
  42. global-config:
  43. db-config:
  44. id-type: id_worker
  45. field-strategy: not_null
  46. db-type: mysql
  47. configuration:
  48. jdbc-type-for-null: 'null'
  49. cache-enabled: false
  50. call-setters-on-nulls: true
  51. type-aliases-package: com.iformall.domain.po
  52. type-enums-package: com.iformall.enums
  53. # PageHelper
  54. pagehelper:
  55. helperDialect: mysql
  56. reasonable: false
  57. supportMethodsArguments: true
  58. params: count=countSql
  59. offset-as-page-num: true
  60. page-size-zero: true
  61. row-bounds-with-count: true
  62. mapper:
  63. mappers:
  64. - com.iformall.common.CommonMapper
  65. version: 1.0