You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB
YAML

#spring:
# datasource:
# druid:
# db-type: mysql
# url: jdbc:mysql://${DB_HOST:118.31.7.2}:${DB_PORT:3306}/${DB_NAME:link_commerce}?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false&useInformationSchema=true&allowPublicKeyRetrieval=true&allowMultiQueries=true
# username: ${DB_USER:root}
# password: ${DB_PWD:sztzjy2017}
# driver-class-name: com.mysql.cj.jdbc.Driver
#120.79.54.255
spring:
datasource:
druid:
db-type: mysql
url: jdbc:mysql://${DB_HOST:118.31.7.2}:${DB_PORT:3306}/${DB_NAME:link_commerce}?useUnicode=true&characterEncoding=utf8&connectionCollation=utf8mb4_unicode_ci&serverTimezone=GMT%2B8&useSSL=false&useInformationSchema=true&allowPublicKeyRetrieval=true&allowMultiQueries=true&connectTimeout=10000&socketTimeout=60000&tcpKeepAlive=true
username: ${DB_USER:root}
password: ${DB_PWD:sztzjy2017}
driver-class-name: com.mysql.cj.jdbc.Driver
# 文件存储
file:
type: local
path: E:/workspace/dianshang/link_commerce/uploadFile
url: ${FILE_URL:http://localhost:7548/file}
#path: D:/tianzeProject/linkCommerce/
#url: "http://192.168.2.8:147/file"
item:
name: linkCommerce