Commit ef66e609 by Administrator

Update application.yml

parent b59faf1c
login: #登录校验手机验证码开关
enabled: 'false'
server: server:
tomcat: tomcat:
max-threads: 500 # Maximum amount of worker threads. max-threads: 500 # Maximum amount of worker threads.
...@@ -16,7 +13,126 @@ spring: ...@@ -16,7 +13,126 @@ spring:
username: rabbit username: rabbit
password: rabbit-techhero password: rabbit-techhero
virtual-host: /local virtual-host: /local
servlet: servlet:
multipart: multipart:
max-file-size: 1000MB max-file-size: 1000MB
max-request-size: 1000MB max-request-size: 1000MB
redis:
cache:
expiration: 3601
ribbon:
eager-load:
enabled: true
clients: techhero-auth-service,techhero-admin-service,techhero-ksfw-service,techhero-search-service
Httpclient:
enabled: true
OkHttp:
enabled: false
ReadTimeout: 60000
ConnectTimeout: 30000
feign:
hystrix:
enabled: true
okhttp:
enabled: false
httpclient:
enabled: true
client:
config:
feignName:
readTimeout: 60000
connectTimeout: 30000
compression:
request:
enabled: false
response:
enabled: false
zuul:
semaphore:
max-semaphores: 5000 #可根据系统需要支持的并发数适当增加信号量的大小
hystrix:
threadpool:
default:
coreSize: 1000
maxQueueSize: 1000
queueSizeRejectionThreshold: 800
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 240000 # 设置熔断的时间,建议在网关和微服务都设置,否则会有一个默认值生效
#关闭验证
management:
metrics:
web:
server:
auto-time-requests: false
endpoints:
web:
exposure:
include: 'health'
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml #XML扫描
typeAliasesPackage: com.techhero.**.model.entity #实体扫描 多个package用逗号或者分号分隔
global-config:
refresh: true
db-config:
refresh-mapper: true #刷新mapper 调试神器
configuration:
map-underscore-to-camel-case: true #开启驼峰命名
cache-enabled: false
jdbc-type-for-null: 'null' #配置JdbcTypeForNull oracle数据库必须配置
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
jasypt: # 配置文件加密
encryptor:
bean: customStringEncryptor
login: #登录校验手机验证码开关
enabled: 'false'
wx:
miniapp:
configs:
#王总冷香柳院appid和secret
- appid: wxb0e2fbdff999cff8
secret: 9c611afe0b199f67e433d7fbb2ec2ae3
#考试院appid和secret
#- appid: wx5c99a8ca5915fdbb
# secret: 49bdd36759876ee466dabe572374f363
httpProxyHost: 192.168.50.175
httpProxyPort: 10320
gx:
url: http://10.16.13.39:8011/sendSmsManager/sendSms
systemcode: zytbfz
cs:
queryphoneurl: http://10.16.5.15:8081/imaauth/imaNew/queryPhone
systemcode: '0000'
querytype: 9
kstype: 1
cjtype: 0
bmxx:
enabled: true
queryUrl: https://pgbm.gxeea.cn:8005/api/Ksgl/Ksyz
secret: 2CFECA62D3A1EBAE7E1BD2459D67D86D
yonghu: ksyz01
iv: 6992596834885159
# 分割日志文件
logging:
level: #生产禁用DEBUG
root: INFO
file:
name: /data/logs/${spring.application.name}/file-info.log
max-size: 10MB # 日志文件的最大大小
max-history: 30 # 保留日志文件的最大历史记录天数
total-size-cap: 500MB # 日志文件的总大小上限
clean-history-on-start: true # 应用启动时清理旧的日志文件
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) [%thread] %logger{36}.%M %L : %msg%n"
file: "%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) [%thread] %logger{36}.%M %L : %msg%n"
# dfs文件服务器
dfs:
enabled: false
url: https://jc-test.gxeea.cn:8001
channel: gxygzy
appId: 4d6e7392291c41d4d410fa2850f0c402
appSecret: 39e5aa2573ba4a4da16ee34cc276b245
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