feat:V3.1.1整合remi-comm到remi-cloud中

This commit is contained in:
dianjiu
2024-09-11 17:41:17 +08:00
parent e111c59a69
commit 28d62f6cf4
245 changed files with 20975 additions and 154 deletions

View File

@@ -0,0 +1,83 @@
# 服务端口号
server:
# tomcat 配置
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 500
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
# mybatis-plus
mybatis-plus:
configuration:
#控制台打印完整带参数SQL语句
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#mapper映射文件路径
mapper-locations: classpath*:/*-infra/src/main/resources/mapper/*.xml, classpath*:/mapper/**.xml
#pagehelper
pagehelper:
# helper-dialect: mysql
#分页插件会自动检测当前的数据库链接,自动选择合适的分页方式。 你可以配置helperDialect 属性来指定分页插件使用哪种方言。
auto-runtime-dialect: true
#分页合理化参数,默认值为 false 。当该参数设置为 true 时, pageNum<=0 时会查询第一页, pageNum>pages (超过总数时),会查询最后一页。
reasonable: true
#支持通过Mapper接口参数传递page参数,默认值为false
support-methods-arguments: true
#默认值为 false ,当该参数设置为 true 时,如果 pageSize=0 或者 RowBounds.limit =0 就会查询出全部的结果(相当于没有执行分页查询,但是返回结果仍然是 Page 类型)。
page-size-zero: true
#为了支持 startPage(Object params) 方法,增加了该参数来配置参数映射,用于从对象中根据属性名取值
params: count=countSql
# feign
feign:
okhttp:
enabled: true
hystrix:
enabled: true
sentinel:
enabled: true
client:
config:
default:
connectTimeout: 100000
readTimeout: 100000
# springdoc-openapi项目配置
springdoc:
swagger-ui:
path: /swagger-ui.html
api-docs:
path: /v3/api-docs
# knife4j的增强配置,不需要增强可以不配
knife4j:
enable: true
setting:
language: zh-CN
# 定义日志输出级别
logging:
level:
ai.remi: debug
# spring 包日志输出级别
org.springframework: info
# alibaba 包日志输出级别
com.alibaba.cloud: info
# nacos 心跳 INFO 屏蔽
com.alibaba.nacos: off
# undertow
io.undertow: info
# mybatis-plus
com.baomidou.mybatisplus: debug
spring:
# 循环依赖的问题
main:
allow-circular-references: true
# MVC默认的路径匹配策略为PATH_PATTERN_PARSER,需要修改为ANT_PATH_MATCHER 解决swagger兼容性问题
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER