31 lines
715 B
YAML
31 lines
715 B
YAML
server:
|
|||
|
|
port: 8090
|
||
|
|
|
||
|
|
spring:
|
||
|
|
application:
|
||
|
|
name: wm-config
|
||
|
|
datasource:
|
||
|
|
driver-class-name: org.postgresql.Driver
|
||
|
|
url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:water}?currentSchema=public
|
||
|
|
username: ${DB_USER:postgres}
|
||
|
|
password: ${DB_PASS:postgres}
|
||
|
|
cloud:
|
||
|
|
nacos:
|
||
|
|
discovery:
|
||
|
|
server-addr: ${NACOS_ADDR:localhost:8848}
|
||
|
|
|
||
|
|
mybatis-plus:
|
||
|
|
configuration:
|
||
|
|
map-underscore-to-camel-case: true
|
||
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
|
|
global-config:
|
||
|
|
db-config:
|
||
|
|
logic-delete-field: deleted
|
||
|
|
logic-delete-value: 1
|
||
|
|
logic-not-delete-value: 0
|
||
|
|
|
||
|
|
sa-token:
|
||
|
|
token-name: Authorization
|
||
|
|
timeout: 86400
|
||
|
|
active-timeout: 1800
|