mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 01:46:47 +08:00
# Conflicts: # servers/boe-server-all/src/main/java/com/xboe/api/ThirdApi.java # servers/boe-server-all/src/main/resources/application.properties
70 lines
2.9 KiB
Properties
70 lines
2.9 KiB
Properties
spring.profiles.active=@profileActive@
|
||
spring.application.name=boe-server-all
|
||
server.port=9090
|
||
server.servlet.session.timeout=30m
|
||
server.servlet.encoding.charset=UTF-8
|
||
server.servlet.encoding.enabled=true
|
||
server.servlet.encoding.force=true
|
||
server.tomcat.uri-encoding=UTF-8
|
||
ok.http.connect-timeout=30
|
||
ok.http.read-timeout=30
|
||
ok.http.write-timeout=30
|
||
# 连接池中整体的空闲连接的最大数量
|
||
ok.http.max-idle-connections=200
|
||
# 连接空闲时间最多为 300 秒
|
||
ok.http.keep-alive-duration=300
|
||
#spring.jackson.locale=
|
||
#spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
||
# spring.jackson.default-property-inclusion=NON_NULL
|
||
spring.jackson.time-zone=GMT+8
|
||
|
||
spring.servlet.multipart.max-file-size=1024MB
|
||
spring.servlet.multipart.max-request-size=1024MB
|
||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
||
spring.mvc.static-path-pattern=/cdn/**
|
||
|
||
|
||
spring.redis.lettuce.pool.max-active=8
|
||
spring.redis.lettuce.pool.min-idle=0
|
||
spring.redis.lettuce.pool.max-idle=30
|
||
spring.redis.lettuce.pool.max-wait=10000ms
|
||
spring.redis.lettuce.shutdown-timeout=100ms
|
||
|
||
# 上传的临时目录,部署到服务器必须指定
|
||
# spring.servlet.multipart.location=
|
||
|
||
# 上传的临时目录,部署到服务器必须指定
|
||
# spring.servlet.multipart.location=
|
||
# jpa config
|
||
spring.jpa.database = MYSQL
|
||
spring.jpa.show-sql = false
|
||
# spring.jpa.properties.hibernate.cache.use_second_level_cache=true
|
||
# spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
|
||
spring.jpa.properties.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
|
||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
|
||
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
|
||
#spring.transaction
|
||
# spring.jpa.properties.hibernate.allow_update_outside_transaction=true
|
||
# spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
|
||
spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
|
||
|
||
|
||
# 设置logback.xml位置
|
||
logging.config=classpath:log/logback-@profileActive@.xml
|
||
# 用于分布式id生成不重复的处理 配置,0-31 的数值
|
||
# config.id.generator.server.num=1
|
||
# config.id.generator.datacenter.num=1
|
||
|
||
#boe.domain=https://pretest.zcwytd.com
|
||
boe.domain=https://u.boe.com
|
||
orgTree.orgTreeList=${boe.domain}/userbasic/org/list
|
||
# ????id????????????
|
||
orgTree.orgChildTreeList=${boe.domain}/userbasic/org/childOrgs
|
||
userBasic.searchUserList=${boe.domain}/userbasic/user/list
|
||
audience.usersByAudienceList=${boe.domain}/userbasic/audience/memberList
|
||
#获取用户学习课程数据
|
||
statApi.userdynamicList=${boe.domain}/statApi/xboe/m/stat/userdynamic/list
|
||
#用户中心根据组织id查询用户信息接口(递归子组织)
|
||
audience.getOrgUsers=${boe.domain}/userbasic/user/getOrgUsers
|
||
#获取工号
|
||
infrasApi.dict=${boe.domain}/infrasApi/dict/getCourseException |