Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

61 righe
1.2 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. # @{link} https://github.com/abel533
  24. #Mybatis
  25. mybatis:
  26. type-aliases-package: com.iformall.domain.po
  27. mapper-locations: classpath:mapper/*Mapper.xml
  28. configuration:
  29. map-underscore-to-camel-case: true
  30. cache-enabled: true
  31. lazy-loading-enabled: true
  32. use-generated-keys: true
  33. default-fetch-size: 100
  34. default-statement-timeout: 10
  35. #PageHelper
  36. pagehelper:
  37. helperDialect: mysql
  38. reasonable: false
  39. supportMethodsArguments: true
  40. params: count=countSql
  41. offset-as-page-num: true
  42. page-size-zero: true
  43. row-bounds-with-count: true
  44. mapper:
  45. mappers:
  46. - com.iformall.common.CommonMapper
  47. pay:
  48. real: true
  49. version: @project.version@
  50. #admin主页地址
  51. admin-page: http://admin.malls.iformall.com