mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
25 lines
1.2 KiB
Properties
25 lines
1.2 KiB
Properties
# 不用改,如果要改,请全局替换修改
|
||
sop.secret=MZZOUSTua6LzApIWXCwEgbBmxSzpzC
|
||
|
||
# https://blog.csdn.net/qq_36872046/article/details/81058045
|
||
# 路由转发超时时间,毫秒,默认值1000,详见:RibbonClientConfiguration.DEFAULT_READ_TIMEOUT。
|
||
# 如果微服务端 处理时间过长,会导致ribbon read超时,解决办法将这个值调大一点
|
||
ribbon.ReadTimeout=2000
|
||
# 设置为true(默认false),则所有请求都重试,默认只支持get请求重试
|
||
# 请谨慎设置,因为post请求大多都是写入请求,如果要支持重试,确保服务的幂等性
|
||
ribbon.OkToRetryOnAllOperations=false
|
||
|
||
spring.cloud.gateway.discovery.locator.lower-case-service-id=true
|
||
spring.cloud.gateway.discovery.locator.enabled=true
|
||
|
||
# 不用改
|
||
mybatis.fill.com.gitee.fastmybatis.core.support.DateFillInsert=gmt_create
|
||
mybatis.fill.com.gitee.fastmybatis.core.support.DateFillUpdate=gmt_modified
|
||
|
||
# 文件上传配置
|
||
spring.servlet.multipart.enabled=true
|
||
# 这里设置大一点没关系,真实大小由upload.max-file-size控制
|
||
spring.servlet.multipart.max-file-size=50MB
|
||
|
||
# 允许上传文件大小,不能超过这个值,单位:B,KB,MB
|
||
upload.max-file-size=2MB |