Files
water-management-system/wm-base/src/main/resources/application.yml
T

32 lines
670 B
YAML
Raw Normal View History

server:
port: 8081
spring:
application:
name: wm-base
datasource:
url: jdbc:postgresql://${PG_HOST:127.0.0.1}:5432/water_management
username: ${PG_USER:water}
password: ${PG_PASS:water123}
driver-class-name: org.postgresql.Driver
cloud:
nacos:
discovery:
server-addr: ${NACOS_HOST:127.0.0.1}:8848
sa-token:
token-name: Authorization
timeout: 86400
is-concurrent: false
is-share: false
token-style: uuid
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
global-config:
db-config:
id-type: auto
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0