Browse Source

fix bug

master
刘力 2 years ago
parent
commit
e88b47d8e3
  1. 2
      system/src/main/resources/application-dev.yml
  2. 12
      system/src/main/resources/application-prod.yml
  3. 2
      system/src/main/resources/application.yml

2
system/src/main/resources/application-dev.yml

@ -3,7 +3,7 @@ spring:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.99.207}:${DB_PORT:3306}/${DB_NAME:yxk_storeroom}?serverTimezone=Asia/Shanghai&characterEncoding=utf-8&useSSL=false
url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.99.107}:${DB_PORT:3306}/${DB_NAME:yxk_storeroom}?serverTimezone=Asia/Shanghai&characterEncoding=utf-8&useSSL=false
username: ${DB_USER:root}
password: ${DB_PWD:ftzn83560792}
# 初始连接数

12
system/src/main/resources/application-prod.yml

@ -107,11 +107,15 @@ file:
path: ~/file/
avatar: ~/avatar/
linux:
path: /home/www/yxkadmin/file/
avatar: /home/www/yxkadmin/avatar/
path: /home/yxk_App/file/
avatar: /home/yxk_App/avatar/
windows:
path: D:\yxk-storetoom\file\
avatar: D:\yxk-storetoom\avatar\
path: D:\yxk_App\file\
avatar: D:\yxk_App\avatar\
# 文件大小 /M
maxSize: 100
avatarMaxSize: 5
accessFile:
resourceHandler: /downloadFile/**
location: D:\yxk_App\file\

2
system/src/main/resources/application.yml

@ -31,7 +31,7 @@ spring:
redis:
#数据库索引
database: ${REDIS_DB:0}
host: ${REDIS_HOST:192.168.99.207}
host: ${REDIS_HOST:192.168.99.107}
port: ${REDIS_PORT:6379}
password: ${REDIS_PWD:ftzn83560792}
#连接超时时间

Loading…
Cancel
Save