matecloud
matecloud copied to clipboard
🔥MateCloud是一款基于Spring Cloud Alibaba的微服务架构。目前已经整合Spring Boot 2.7.0、 Spring Cloud 2021、Spring Cloud Alibaba 2021、Spring Security Oauth2、Feign、Dubbo、JetCache、RocketMQ等,支持多...
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.3 to 42.4.1. Release notes Sourced from postgresql's releases. 42.4.0 What's Changed Enhancement: Made TimestampUtils.utcTz static and renamed to UTC_TIMEZONE by @svendiedrichsen in pgjdbc/pgjdbc#2519 fix: return correct...
增加了网关SQL注入拦截器,我把工具类放在了common包中
不使用refreshtoken,访问的时候判断,token有效期小于10分钟这种,自动续上客户端配置的有效时间,如半个小时

The following class uses `@Bean` on a field, but is missing `@Component` or `@Configuration` annotation on the class. Is it intentional? https://github.com/matevip/matecloud/blob/52471eb8e8cfd6487c49af51a51a2274edb05322/mate-core/mate-starter-common/src/main/java/vip/mate/core/common/config/DefaultAsyncTaskConfig.java#L22 Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html
在PreRequestFilter 中定义了transID,在RequestLogFilter也有获取,但是之后的打印并未使用到,参见: RequestLogFilter.java lines:36, String traceId = exchange.getRequest().getHeaders().getFirst(MateConstant.MATE_TRACE_ID); 这个变量并未在该过滤器之后的逻辑中使用。
private static void defaultExport(List list, Class pojoClass, String fileName, HttpServletResponse response, ExportParams exportParams) { Workbook workbook = ExcelExportUtil.exportExcel(exportParams,pojoClass,list); if (workbook != null); downLoadExcel(fileName, response, workbook); } if (workbook != null)之后多了一个分号
集成seata之后数据源会被代理,之后无法打印输出sql信息: Execute SQL:io.seata.rm.datasource.PreparedStatementProxy@17960009