Commit b64fa10d authored by jichao's avatar jichao

正式环境、测试环境 配置

parent a9516d0e
...@@ -47,6 +47,7 @@ spring: ...@@ -47,6 +47,7 @@ spring:
# force: true # force: true
# charset: UTF-8 # charset: UTF-8
# enabled: true # enabled: true
http:
multipart: multipart:
max-file-size: 100Mb max-file-size: 100Mb
max-request-size: 1000Mb max-request-size: 1000Mb
...@@ -100,3 +101,10 @@ global: ...@@ -100,3 +101,10 @@ global:
images_location: /images images_location: /images
code: code:
admin: ROLE_1001 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: server:
port: 8082 port: 8082
context-path: / #ContextPath must start with '/' and not end with '/' context-path: /project #ContextPath must start with '/' and not end with '/'
tomcat: tomcat:
max-threads: 300 max-threads: 300
max-http-header-size: 10240000
#logging: #logging:
# level: # level:
...@@ -10,7 +11,7 @@ server: ...@@ -10,7 +11,7 @@ server:
# org.springframework.web: DEBUG # org.springframework.web: DEBUG
druid: 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 username: root
password: root password: root
initial-size: 1 initial-size: 1
...@@ -20,12 +21,13 @@ druid: ...@@ -20,12 +21,13 @@ druid:
mybatis: mybatis:
mapper-locations: classpath:mapper/*.xml mapper-locations: classpath:mapper/**/**/*.xml
config-location: classpath:mybatis-config.xml
mapper: mapper:
mappers: mappers:
- org.yxyqcy.sys.base.BaseMapper - org.rcisoft.core.base.BaseMapper
not-empty: false not-empty: false
identity: MYSQL identity: MYSQL
...@@ -38,7 +40,7 @@ pagehelper: ...@@ -38,7 +40,7 @@ pagehelper:
spring: spring:
jackson: jackson:
default-property-inclusion: non_null # default-property-inclusion: non_null
http: http:
multipart: multipart:
max-file-size: 100Mb max-file-size: 100Mb
...@@ -47,6 +49,17 @@ spring: ...@@ -47,6 +49,17 @@ spring:
throw-exception-if-no-handler-found: true throw-exception-if-no-handler-found: true
resources: resources:
add-mappings: false 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: jwt:
header: Authorization header: Authorization
...@@ -55,12 +68,14 @@ jwt: ...@@ -55,12 +68,14 @@ jwt:
tokenHead: "Bearer " tokenHead: "Bearer "
route: route:
authentication: authentication:
path: auth path: "/login"
refresh: refresh refresh: "/refresh"
register: "auth/register" register: "/register"
global: global:
path: path:
base_upload_location: /working/resource/eduServer/
code_generate_location: /code
video_location: /video video_location: /video
temp_location: /temp temp_location: /temp
file_location: /file file_location: /file
...@@ -69,3 +84,10 @@ global: ...@@ -69,3 +84,10 @@ global:
admin: ROLE_1001 admin: ROLE_1001
teacher: ROLE_1002 teacher: ROLE_1002
student: ROLE_1003 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: spring:
profiles: profiles:
active: dev 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