后台服务
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

2 роки тому
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. server:
  2. port: 9300
  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: 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. aop:
  40. proxy-target-class: true
  41. auto: true
  42. # MybatisPlus
  43. mybatis-plus:
  44. mapper-locations: classpath:mapper/*Mapper.xml
  45. global-config:
  46. db-config:
  47. id-type: id_worker
  48. field-strategy: not_null
  49. db-type: mysql
  50. configuration:
  51. jdbc-type-for-null: 'null'
  52. cache-enabled: false
  53. call-setters-on-nulls: true
  54. type-aliases-package: com.iformall.domain.po
  55. type-enums-package: com.iformall.enums
  56. # PageHelper
  57. pagehelper:
  58. helperDialect: mysql
  59. reasonable: false
  60. supportMethodsArguments: true
  61. params: count=countSql
  62. offset-as-page-num: true
  63. page-size-zero: true
  64. row-bounds-with-count: true
  65. mapper:
  66. mappers:
  67. - com.iformall.common.CommonMapper
  68. version: 1.0