application.yml 2.6 KB

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