Commit ab73d8e1 authored by YangZhaoJun1's avatar YangZhaoJun1

配置文件

parent 2c9d0bc9
...@@ -13,7 +13,7 @@ server: ...@@ -13,7 +13,7 @@ server:
druid: druid:
url: jdbc:mysql://127.0.0.1:3306/edu_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false url: jdbc:mysql://127.0.0.1:3306/edu_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false
username: root username: root
password: 123456 password: root
initial-size: 1 initial-size: 1
min-idle: 1 min-idle: 1
max-active: 20 max-active: 20
...@@ -56,15 +56,17 @@ spring: ...@@ -56,15 +56,17 @@ spring:
resources: resources:
add-mappings: false add-mappings: false
redis: redis:
host: 106.2.3.134 # host: 106.2.3.134
port: 7482 # port: 7482
host: 127.0.0.1
port: 6379
pool: pool:
max-idle: 50 max-idle: 50
max-active: 1000 max-active: 1000
min-idle: 5 min-idle: 5
max-wait: -1 max-wait: -1
database: 0 database: 0
password: '' password: '123456'
timeout: 3600 timeout: 3600
freemarker: freemarker:
charset: UTF-8 charset: UTF-8
...@@ -116,8 +118,8 @@ global: ...@@ -116,8 +118,8 @@ global:
min_password: 6 min_password: 6
max_password: 16 max_password: 16
path: path:
base_upload_server_location: G:/education_res base_upload_server_location: E:/eduServer
physical_upload_server_location: G:/education_res physical_upload_server_location: E:/eduServer
course_location: course course_location: course
lesson_location: lesson lesson_location: lesson
sl_location: sl sl_location: sl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment