修改xxl-job-admin数据源用户名变量错误和统一风格

This commit is contained in:
刘海涛 2021-04-20 11:32:04 +08:00
parent b5e03fd9d1
commit 92e1728a83

View File

@ -16,8 +16,8 @@ spring:
datasource:
url: jdbc:mysql://${MYSQL_HOST:pig-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pig_job}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL-PWD:root}
password: ${MYSQL-PWD:root}
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
mvc:
static-path-pattern: /static/**
freemarker: