application.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. server:
  2. port: 8902
  3. address: 0.0.0.0
  4. spring:
  5. profiles:
  6. active: prod #local prod
  7. application:
  8. name: yujing-hook-load-warning
  9. security:
  10. user:
  11. name: admin
  12. password: YujingHoolLoad@2025
  13. roles: ADMIN
  14. mvc:
  15. static-path-pattern: /**
  16. jackson:
  17. time-zone: GMT+8
  18. date-format: "yyyy-MM-dd HH:mm:ss"
  19. redis:
  20. database: 0
  21. host: localhost
  22. lettuce:
  23. pool:
  24. max-active: -1 #最大连接数据库连接数,设 -1 为没有限制
  25. max-idle: 0 #最大等待连接中的数量,设 0 为没有限制
  26. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  27. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  28. shutdown-timeout: 1000ms
  29. password: #YjCjfuwu@2025 #123
  30. port: 6379
  31. logging:
  32. config: classpath:logback.xml
  33. mybatis-plus:
  34. configuration:
  35. map-underscore-to-camel-case: true
  36. auto-mapping-behavior: full
  37. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  38. mapper-locations: classpath*:mapper/**/*Mapper.xml
  39. global-config:
  40. # 逻辑删除配置
  41. db-config:
  42. # 删除前
  43. logic-not-delete-value: 1
  44. # 删除后
  45. logic-delete-value: 0