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

Merge pull request !105 from lht/dev
This commit is contained in:
lbw 2021-04-20 11:40:51 +08:00 committed by Gitee
commit 9dbc2f5b3e

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: