2021-01-08 09:10:15 +08:00

28 lines
769 B
YAML

##端口号
server:
port: 8048
## mybatis配置
mybatis:
mapper-locations: classpath*:com/qinxx/hslink/dao/mapping/*.xml
typeAliasesPackage: com.qinxx.hslink.model
##日志等级
logging:
level:
com.qinxx.hslink.dao : debug
##数据源
spring:
datasource:
# url: jdbc:mysql://127.0.0.1:3306/hslink?serverTimezone=Hongkong&useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://106.53.113.158:3306/hslink?serverTimezone=Hongkong&useUnicode=true&characterEncoding=utf8
username: root
password: Beater123
db-name: hslink
filters: log4j,wall,mergeStat
driverClassName: com.mysql.cj.jdbc.Driver
##文件保存路径
# Linux环境下
filePath: /usr/local/src/phy/file
# Window环境下
#filePath: ${user.dir}\src\main\static\files