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

application.yml 670B

12345678910111213141516171819202122232425262728293031
  1. server:
  2. port: 8081
  3. spring:
  4. application:
  5. name: wm-base
  6. datasource:
  7. url: jdbc:postgresql://${PG_HOST:127.0.0.1}:5432/water_management
  8. username: ${PG_USER:water}
  9. password: ${PG_PASS:water123}
  10. driver-class-name: org.postgresql.Driver
  11. cloud:
  12. nacos:
  13. discovery:
  14. server-addr: ${NACOS_HOST:127.0.0.1}:8848
  15. sa-token:
  16. token-name: Authorization
  17. timeout: 86400
  18. is-concurrent: false
  19. is-share: false
  20. token-style: uuid
  21. mybatis-plus:
  22. mapper-locations: classpath*:/mapper/**/*.xml
  23. global-config:
  24. db-config:
  25. id-type: auto
  26. logic-delete-field: deleted
  27. logic-delete-value: 1
  28. logic-not-delete-value: 0