application.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. spring:
  2. profiles:
  3. active: dev
  4. devtools:
  5. restart:
  6. # 热部署开关
  7. enabled: true
  8. mybatis-plus:
  9. configuration:
  10. jdbc-type-for-null: 'null'
  11. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  12. global-config:
  13. banner: false
  14. db-config:
  15. id-type: ASSIGN_ID
  16. logic-delete-field: DELETE_FLAG
  17. logic-delete-value: DELETED
  18. logic-not-delete-value: NOT_DELETE
  19. enable-sql-runner: true
  20. mapper-locations: classpath*:vip/xiaonuo/**/mapping/*.xml
  21. type-handlers-package: vip.xiaonuo.common.handler
  22. easy-trans:
  23. is-enable-cloud: false
  24. is-enable-global: true
  25. is-enable-redis: true
  26. is-enable-tile: true
  27. knife4j:
  28. basic:
  29. enable: true
  30. password: 123456
  31. username: admin
  32. enable: true
  33. production: false
  34. setting:
  35. enableFooter: false
  36. enableFooterCustom: true
  37. enableOpenApi: false
  38. enableSwaggerModels: false
  39. footerCustomContent: Apache License 2.0 | Copyright 2020-2024[SNOWY](https://www.xiaonuo.vip)
  40. sa-token:
  41. active-timeout: -1
  42. alone-redis:
  43. database: 2
  44. host: ${spring.data.redis.host}
  45. lettuce:
  46. pool:
  47. max-active: ${spring.data.redis.lettuce.pool.max-active}
  48. max-idle: ${spring.data.redis.lettuce.pool.max-idle}
  49. max-wait: ${spring.data.redis.lettuce.pool.max-wait}
  50. min-idle: ${spring.data.redis.lettuce.pool.min-idle}
  51. password: ${spring.data.redis.password}
  52. port: ${spring.data.redis.port}
  53. timeout: ${spring.data.redis.timeout}
  54. is-concurrent: true
  55. is-log: false
  56. is-print: false
  57. is-share: false
  58. max-login-count: -1
  59. timeout: 2592000
  60. token-name: token
  61. token-style: random-32
  62. springdoc:
  63. default-flat-param-object: true
  64. group-configs:
  65. - display-name: ${springdoc.group-configs[0].group}
  66. group: SNOWY-PLUGIN-AUTH
  67. packages-to-scan: vip.xiaonuo.auth
  68. - display-name: ${springdoc.group-configs[1].group}
  69. group: SNOWY-PLUGIN-BIZ
  70. packages-to-scan: vip.xiaonuo.biz
  71. - display-name: ${springdoc.group-configs[2].group}
  72. group: SNOWY-PLUGIN-CLIENT
  73. packages-to-scan: vip.xiaonuo.client
  74. - display-name: ${springdoc.group-configs[3].group}
  75. group: SNOWY-PLUGIN-DEV
  76. packages-to-scan: vip.xiaonuo.dev
  77. - display-name: ${springdoc.group-configs[4].group}
  78. group: SNOWY-PLUGIN-GEN
  79. packages-to-scan: vip.xiaonuo.gen
  80. - display-name: ${springdoc.group-configs[5].group}
  81. group: SNOWY-PLUGIN-MOBILE
  82. packages-to-scan: vip.xiaonuo.mobile
  83. - display-name: ${springdoc.group-configs[6].group}
  84. group: SNOWY-PLUGIN-SYS
  85. packages-to-scan: vip.xiaonuo.sys
  86. snowy:
  87. config:
  88. common:
  89. backend-url: ${spring.snowy.config.common.backend-url}
  90. front-url: ${spring.snowy.config.common.front-url}