Commit b64fa10d authored by jichao's avatar jichao

正式环境、测试环境 配置

parent a9516d0e
......@@ -47,6 +47,7 @@ spring:
# force: true
# charset: UTF-8
# enabled: true
http:
multipart:
max-file-size: 100Mb
max-request-size: 1000Mb
......@@ -100,3 +101,10 @@ global:
images_location: /images
code:
admin: ROLE_1001
filepath:
analysis: D:\zhny\filepath\analysis\
equipment: D:\zhny\filepath\equipment\
devicetp: D:\zhny\filepath\devicetp\
serverimgurl: 127.0.0.1:9000/
\ No newline at end of file
server:
port: 8082
context-path: / #ContextPath must start with '/' and not end with '/'
context-path: /project #ContextPath must start with '/' and not end with '/'
tomcat:
max-threads: 300
max-http-header-size: 10240000
#logging:
# level:
......@@ -10,7 +11,7 @@ server:
# org.springframework.web: DEBUG
druid:
url: jdbc:mysql://127.0.0.1:3306/zhny?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
url: jdbc:mysql://139.199.98.105:3336/zhny?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
username: root
password: root
initial-size: 1
......@@ -20,12 +21,13 @@ druid:
mybatis:
mapper-locations: classpath:mapper/*.xml
mapper-locations: classpath:mapper/**/**/*.xml
config-location: classpath:mybatis-config.xml
mapper:
mappers:
- org.yxyqcy.sys.base.BaseMapper
- org.rcisoft.core.base.BaseMapper
not-empty: false
identity: MYSQL
......@@ -38,7 +40,7 @@ pagehelper:
spring:
jackson:
default-property-inclusion: non_null
# default-property-inclusion: non_null
http:
multipart:
max-file-size: 100Mb
......@@ -47,6 +49,17 @@ spring:
throw-exception-if-no-handler-found: true
resources:
add-mappings: false
redis:
host: 127.0.0.1
port: 6379
pool:
max-idle: 50
max-active: 1000
min-idle: 5
max-wait: -1
database: 0
password: ''
timeout: 3600
jwt:
header: Authorization
......@@ -55,12 +68,14 @@ jwt:
tokenHead: "Bearer "
route:
authentication:
path: auth
refresh: refresh
register: "auth/register"
path: "/login"
refresh: "/refresh"
register: "/register"
global:
path:
base_upload_location: /working/resource/eduServer/
code_generate_location: /code
video_location: /video
temp_location: /temp
file_location: /file
......@@ -69,3 +84,10 @@ global:
admin: ROLE_1001
teacher: ROLE_1002
student: ROLE_1003
filepath:
analysis: /home/zhny/filepath/analysis/
equipment: /home/zhny/filepath/equipment/
devicetp: /home/zhny/filepath/devicetp/
serverimgurl: 139.199.98.105:9000/
\ No newline at end of file
spring:
profiles:
active: dev
filepath:
analysis: D:\zhny\filepath\analysis\
equipment: D:\zhny\filepath\equipment\
devicetp: D:\zhny\filepath\devicetp\
serverimgurl: 192.168.1.164:9000/
\ No newline at end of file
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