智慧水务管理系统 - 精河县供水工程综合管理平台

application.yml 715B

123456789101112131415161718192021222324252627282930
  1. server:
  2. port: 8090
  3. spring:
  4. application:
  5. name: wm-config
  6. datasource:
  7. driver-class-name: org.postgresql.Driver
  8. url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:water}?currentSchema=public
  9. username: ${DB_USER:postgres}
  10. password: ${DB_PASS:postgres}
  11. cloud:
  12. nacos:
  13. discovery:
  14. server-addr: ${NACOS_ADDR:localhost:8848}
  15. mybatis-plus:
  16. configuration:
  17. map-underscore-to-camel-case: true
  18. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  19. global-config:
  20. db-config:
  21. logic-delete-field: deleted
  22. logic-delete-value: 1
  23. logic-not-delete-value: 0
  24. sa-token:
  25. token-name: Authorization
  26. timeout: 86400
  27. active-timeout: 1800