Compare commits

...

17 Commits

Author SHA1 Message Date
197d7adaaf Merge pull request #8256 from MuShan-bit/springboot3-chore-upgrade-shiro
upgrade shiro to 2.0.4
2025-05-11 10:34:23 +08:00
e952518d71 feat: 升级 shiro 到 2.0.4 版本 2025-05-10 22:14:02 +08:00
2ba17648c4 Merge pull request #8116 from EightMonth/springboot3
优化swagger文档改造
2025-04-15 11:41:44 +08:00
36caab37e2 Update application-mysql.yml 2025-04-15 11:07:54 +08:00
6e721e4120 归集spring-doc默认配置
(cherry picked from commit d4d0c884f0)
2025-04-15 10:39:05 +08:00
a17b403675 优化swagger文档架构改造 2025-04-03 17:46:11 +08:00
632fd72d79 Merge pull request #8053 from EightMonth/springboot3
排除部分接口文档,为免登录接口排除token校验请求头
2025-04-01 21:28:44 +08:00
15fc262675 排除部分接口文档,为免登录接口排除token校验请求头 2025-04-01 18:05:04 +08:00
6768d65e1e Merge pull request #8008 from EightMonth/springboot3
修复 CVE-2023-6378
2025-03-25 16:02:57 +08:00
410ab7bcc3 修复 CVE-2023-6378 2025-03-25 15:58:19 +08:00
174f1ae432 Merge pull request #8004 from EightMonth/springboot3
jeewx-api修改成weixin4j
2025-03-25 14:19:42 +08:00
eef2f7e269 jeewx-api修改成weixin4j 2025-03-25 14:13:45 +08:00
6a0ec66d3d Merge branch 'springboot3' of https://github.com/jeecgboot/jeecg-boot into springboot3 2025-03-25 14:10:17 +08:00
163b0b531f 视频介绍 2025-03-18 10:08:05 +08:00
d1af49a33f Merge pull request #7949 from EightMonth/springboot3
解决严重bug,War包方式部署,服务启动报错
2025-03-12 15:28:07 +08:00
03265691e6 解决严重bug,War包方式部署,服务启动报错 2025-03-12 14:12:00 +08:00
de9cc2f30d Merge pull request #7874 from EightMonth/springboot3
修复 #7613
2025-03-03 17:05:01 +08:00
12 changed files with 287 additions and 232 deletions

View File

@ -35,6 +35,12 @@ JeecgBoot 提供了一系列 `AI能力` `低代码模块`,实现在线开发`
JeecgBoot AI低代码平台可以应用在任何J2EE项目的开发中支持信创国产化默认适配达梦和人大金仓。尤其适合SAAS项目、企业信息管理系统MIS、内部办公系统OA、企业资源计划系统ERP、客户关系管理系统CRM其半智能手工Merge的开发方式可以显著提高开发效率70%以上,极大降低开发成本。 JeecgBoot AI低代码平台可以应用在任何J2EE项目的开发中支持信创国产化默认适配达梦和人大金仓。尤其适合SAAS项目、企业信息管理系统MIS、内部办公系统OA、企业资源计划系统ERP、客户关系管理系统CRM其半智能手工Merge的开发方式可以显著提高开发效率70%以上,极大降低开发成本。
### 视频介绍
[![](https://upload.jeecg.com/jeecg/qiaoqiaoyunsite/jeecgvideo02.png)](https://www.bilibili.com/video/BV1Nk4y1o7Qc)
#### 项目说明 #### 项目说明
| 项目名 | 说明 | | 项目名 | 说明 |

View File

@ -196,6 +196,7 @@
<dependency> <dependency>
<groupId>org.apache.shiro</groupId> <groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring-boot-starter</artifactId> <artifactId>shiro-spring-boot-starter</artifactId>
<classifier>jakarta</classifier>
<version>${shiro.version}</version> <version>${shiro.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>

View File

@ -1,6 +1,6 @@
package org.jeecg.common.util.encryption; package org.jeecg.common.util.encryption;
import org.apache.shiro.codec.Base64; import org.apache.shiro.lang.codec.Base64;
import javax.crypto.Cipher; import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.IvParameterSpec;

View File

@ -3,22 +3,46 @@ package org.jeecg.config;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.Paths;
import io.swagger.v3.oas.models.info.Contact; import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info; import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.info.License; import io.swagger.v3.oas.models.info.License;
import io.swagger.v3.oas.models.security.SecurityRequirement; import io.swagger.v3.oas.models.security.SecurityRequirement;
import io.swagger.v3.oas.models.security.SecurityScheme; import io.swagger.v3.oas.models.security.SecurityScheme;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.constant.CommonConstant;
import org.springdoc.core.models.GroupedOpenApi; import org.springdoc.core.customizers.GlobalOpenApiCustomizer;
import org.springdoc.core.filters.GlobalOpenApiMethodFilter;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
/**
* @author eightmonth
*/
@Slf4j
@Configuration @Configuration
@PropertySource("classpath:config/default-spring-doc.properties")
public class Swagger3Config implements WebMvcConfigurer { public class Swagger3Config implements WebMvcConfigurer {
/** // 定义不需要注入安全要求的路径集合
Set<String> excludedPaths = new HashSet<>(Arrays.asList(
"/sys/randomImage/{key}",
"/sys/login",
"/sys/phoneLogin",
"/sys/mLogin",
"/sys/sms",
"/sys/cas/client/validateLogin",
"/test/jeecgDemo/demo3",
"/sys/thirdLogin/**",
"/sys/user/register"
));
/**
* *
* 显示swagger-ui.html文档展示页还必须注入swagger资源 * 显示swagger-ui.html文档展示页还必须注入swagger资源
* *
@ -32,15 +56,33 @@ public class Swagger3Config implements WebMvcConfigurer {
} }
@Bean @Bean
public GroupedOpenApi swaggerOpenApi() { public GlobalOpenApiMethodFilter globalOpenApiMethodFilter() {
return GroupedOpenApi.builder() return method -> method.isAnnotationPresent(Operation.class);
.group("default") }
.packagesToScan("org.jeecg")
// 剔除以下几个包路径的接口生成文档 @Bean
.packagesToExclude("org.jeecg.modules.drag", "org.jeecg.modules.online", "org.jeecg.modules.jmreport") public GlobalOpenApiCustomizer globalOpenApiCustomizer() {
// 加了Operation注解的方法才生成接口文档 return openApi -> {
.addOpenApiMethodFilter(method -> method.isAnnotationPresent(Operation.class)) // 全局添加鉴权参数
.build(); if (openApi.getPaths() != null) {
openApi.getPaths().forEach((path, pathItem) -> {
log.info("path: {}", path);
// 检查当前路径是否在排除列表中
boolean isExcluded = excludedPaths.stream().anyMatch(excludedPath ->
excludedPath.equals(path) ||
(excludedPath.endsWith("**") && path.startsWith(excludedPath.substring(0, excludedPath.length() - 2)))
);
if (!isExcluded) {
// 接口添加鉴权参数
pathItem.readOperations()
.forEach(operation ->
operation.addSecurityItem(new SecurityRequirement().addList(CommonConstant.X_ACCESS_TOKEN))
);
}
});
}
};
} }
@Bean @Bean
@ -48,12 +90,13 @@ public class Swagger3Config implements WebMvcConfigurer {
return new OpenAPI() return new OpenAPI()
.info(new Info() .info(new Info()
.title("JeecgBoot 后台服务API接口文档") .title("JeecgBoot 后台服务API接口文档")
.version("1.0") .version("3.7.4")
.contact(new Contact().name("北京国炬信息技术有限公司").url("www.jeccg.com").email("jeecgos@163.com")) .contact(new Contact().name("北京国炬信息技术有限公司").url("www.jeccg.com").email("jeecgos@163.com"))
.description( "后台API接口") .description( "后台API接口")
.termsOfService("NO terms of service") .termsOfService("NO terms of service")
.license(new License().name("Apache 2.0").url("http://www.apache.org/licenses/LICENSE-2.0.html")) .license(new License().name("Apache 2.0").url("http://www.apache.org/licenses/LICENSE-2.0.html")))
); .addSecurityItem(new SecurityRequirement().addList(CommonConstant.X_ACCESS_TOKEN))
.components(new Components().addSecuritySchemes(CommonConstant.X_ACCESS_TOKEN,
new SecurityScheme().name(CommonConstant.X_ACCESS_TOKEN).type(SecurityScheme.Type.HTTP)));
} }
}
}

View File

@ -0,0 +1,2 @@
springdoc.auto-tag-classes: false
springdoc.packages-to-scan: org.jeecg

View File

@ -27,7 +27,7 @@
<!-- 企业微信/钉钉 api --> <!-- 企业微信/钉钉 api -->
<dependency> <dependency>
<groupId>org.jeecgframework</groupId> <groupId>org.jeecgframework</groupId>
<artifactId>jeewx-api</artifactId> <artifactId>weixin4j</artifactId>
</dependency> </dependency>
<!-- 积木报表 --> <!-- 积木报表 -->
<dependency> <dependency>

View File

@ -306,7 +306,6 @@ logging:
level: level:
org.flywaydb: debug org.flywaydb: debug
org.jeecg.modules.system.mapper: info org.jeecg.modules.system.mapper: info
#swagger
knife4j: knife4j:
#开启增强配置 #开启增强配置
enable: true enable: true

View File

@ -73,7 +73,7 @@
<!-- Swagger API文档 --> <!-- Swagger API文档 -->
<dependency> <dependency>
<groupId>com.github.xiaoymin</groupId> <groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-gateway-spring-boot-starter</artifactId> <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
<version>${knife4j-spring-boot-starter.version}</version> <version>${knife4j-spring-boot-starter.version}</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -1,160 +1,160 @@
//package org.jeecg.handler.swagger; package org.jeecg.handler.swagger;
//
//import cn.hutool.core.util.ArrayUtil; import cn.hutool.core.util.ArrayUtil;
//import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.ObjectUtil;
//import com.alibaba.nacos.api.naming.NamingFactory; import com.alibaba.nacos.api.naming.NamingFactory;
//import com.alibaba.nacos.api.naming.NamingService; import com.alibaba.nacos.api.naming.NamingService;
//import com.alibaba.nacos.api.naming.pojo.Instance; import com.alibaba.nacos.api.naming.pojo.Instance;
//import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
//import org.springframework.cloud.gateway.route.RouteLocator; import org.springframework.cloud.gateway.route.RouteLocator;
//import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
//import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
//
//import springfox.documentation.swagger.web.SwaggerResource; import springfox.documentation.swagger.web.SwaggerResource;
//import springfox.documentation.swagger.web.SwaggerResourcesProvider; import springfox.documentation.swagger.web.SwaggerResourcesProvider;
//
//import java.util.*; import java.util.*;
//
///** 已使用knife4j-gateway支持该功能 /** 已使用knife4j-gateway支持该功能
// * 聚合各个服务的swagger接口 * 聚合各个服务的swagger接口
// * @author zyf * @author zyf
// * @date: 2022/4/21 10:55 * @date: 2022/4/21 10:55
// */ */
//@Component @Component
//@Slf4j @Slf4j
//@Primary @Primary
//public class MySwaggerResourceProvider implements SwaggerResourcesProvider { public class MySwaggerResourceProvider implements SwaggerResourcesProvider {
// /** /**
// * swagger2默认的url后缀 * swagger2默认的url后缀
// */ */
// private static final String SWAGGER2URL = "/v2/api-docs"; private static final String SWAGGER2URL = "/v3/api-docs";
//
// /** /**
// * 网关路由 * 网关路由
// */ */
// private final RouteLocator routeLocator; private final RouteLocator routeLocator;
// /** /**
// * Nacos名字服务 * Nacos名字服务
// */ */
// private NamingService naming; private NamingService naming;
//
// /** /**
// * nacos服务地址 * nacos服务地址
// */ */
// @Value("${spring.cloud.nacos.discovery.server-addr}") @Value("${spring.cloud.nacos.discovery.server-addr}")
// private String serverAddr; private String serverAddr;
// /** /**
// * nacos namespace * nacos namespace
// */ */
// @Value("${spring.cloud.nacos.discovery.namespace:#{null}}") @Value("${spring.cloud.nacos.discovery.namespace:#{null}}")
// private String namespace; private String namespace;
//
// /** /**
// * nacos groupName * nacos groupName
// */ */
// @Value("${spring.cloud.nacos.config.group:DEFAULT_GROUP:#{null}}") @Value("${spring.cloud.nacos.config.group:DEFAULT_GROUP:#{null}}")
// private String group; private String group;
//
// /** /**
// * nacos username * nacos username
// */ */
// @Value("${spring.cloud.nacos.discovery.username:#{null}}") @Value("${spring.cloud.nacos.discovery.username:#{null}}")
// private String username; private String username;
// /** /**
// * nacos password * nacos password
// */ */
// @Value("${spring.cloud.nacos.discovery.password:#{null}}") @Value("${spring.cloud.nacos.discovery.password:#{null}}")
// private String password; private String password;
//
// /** /**
// * Swagger中需要排除的服务 * Swagger中需要排除的服务
// */ */
// private String[] excludeServiceIds=new String[]{"jeecg-cloud-monitor"}; private String[] excludeServiceIds=new String[]{"jeecg-cloud-monitor"};
//
//
// /** /**
// * 网关应用名称 * 网关应用名称
// */ */
// @Value("${spring.application.name}") @Value("${spring.application.name}")
// private String self; private String self;
//
// @Autowired @Autowired
// public MySwaggerResourceProvider(RouteLocator routeLocator) { public MySwaggerResourceProvider(RouteLocator routeLocator) {
// this.routeLocator = routeLocator; this.routeLocator = routeLocator;
// } }
//
// @Override @Override
// public List<SwaggerResource> get() { public List<SwaggerResource> get() {
// List<SwaggerResource> resources = new ArrayList<>(); List<SwaggerResource> resources = new ArrayList<>();
// List<String> routeHosts = new ArrayList<>(); List<String> routeHosts = new ArrayList<>();
// // 获取所有可用的hostserviceId // 获取所有可用的hostserviceId
// routeLocator.getRoutes().filter(route -> route.getUri().getHost() != null) routeLocator.getRoutes().filter(route -> route.getUri().getHost() != null)
// .filter(route -> !self.equals(route.getUri().getHost())) .filter(route -> !self.equals(route.getUri().getHost()))
// .subscribe(route ->{ .subscribe(route ->{
// //update-begin---author:zyf ---date:20220413 for过滤掉无效路由,避免接口文档报错无法打开 //update-begin---author:zyf ---date:20220413 for过滤掉无效路由,避免接口文档报错无法打开
// boolean hasRoute=checkRoute(route.getId()); boolean hasRoute=checkRoute(route.getId());
// if(hasRoute){ if(hasRoute){
// routeHosts.add(route.getUri().getHost()); routeHosts.add(route.getUri().getHost());
// } }
// //update-end---author:zyf ---date:20220413 for过滤掉无效路由,避免接口文档报错无法打开 //update-end---author:zyf ---date:20220413 for过滤掉无效路由,避免接口文档报错无法打开
// }); });
//
// // 记录已经添加过的server存在同一个应用注册了多个服务在nacos上 // 记录已经添加过的server存在同一个应用注册了多个服务在nacos上
// Set<String> dealed = new HashSet<>(); Set<String> dealed = new HashSet<>();
// routeHosts.forEach(instance -> { routeHosts.forEach(instance -> {
// // 拼接url // 拼接url
// String url = "/" + instance.toLowerCase() + SWAGGER2URL; String url = "/" + instance.toLowerCase() + SWAGGER2URL;
// if (!dealed.contains(url)) { if (!dealed.contains(url)) {
// dealed.add(url); dealed.add(url);
// log.info(" Gateway add SwaggerResource: {}",url); log.info(" Gateway add SwaggerResource: {}",url);
// SwaggerResource swaggerResource = new SwaggerResource(); SwaggerResource swaggerResource = new SwaggerResource();
// swaggerResource.setUrl(url); swaggerResource.setUrl(url);
// swaggerResource.setSwaggerVersion("2.0"); swaggerResource.setSwaggerVersion("2.0");
// swaggerResource.setName(instance); swaggerResource.setName(instance);
// //Swagger排除不展示的服务 //Swagger排除不展示的服务
// if(!ArrayUtil.contains(excludeServiceIds,instance)){ if(!ArrayUtil.contains(excludeServiceIds,instance)){
// resources.add(swaggerResource); resources.add(swaggerResource);
// } }
// } }
// }); });
// return resources; return resources;
// } }
//
// /** /**
// * 检测nacos中是否有健康实例 * 检测nacos中是否有健康实例
// * @param routeId * @param routeId
// * @return * @return
// */ */
// private Boolean checkRoute(String routeId) { private Boolean checkRoute(String routeId) {
// Boolean hasRoute = false; Boolean hasRoute = false;
// try { try {
// //修复使用带命名空间启动网关swagger看不到接口文档的问题 //修复使用带命名空间启动网关swagger看不到接口文档的问题
// Properties properties=new Properties(); Properties properties=new Properties();
// properties.setProperty("serverAddr",serverAddr); properties.setProperty("serverAddr",serverAddr);
// if(namespace!=null && !"".equals(namespace)){ if(namespace!=null && !"".equals(namespace)){
// log.info("nacos.discovery.namespace = {}", namespace); log.info("nacos.discovery.namespace = {}", namespace);
// properties.setProperty("namespace",namespace); properties.setProperty("namespace",namespace);
// } }
// if(username!=null && !"".equals(username)){ if(username!=null && !"".equals(username)){
// properties.setProperty("username",username); properties.setProperty("username",username);
// } }
// if(password!=null && !"".equals(password)){ if(password!=null && !"".equals(password)){
// properties.setProperty("password",password); properties.setProperty("password",password);
// } }
// //【issues/5115】因swagger文档导致gateway内存溢出 //【issues/5115】因swagger文档导致gateway内存溢出
// if (this.naming == null) { if (this.naming == null) {
// this.naming = NamingFactory.createNamingService(properties); this.naming = NamingFactory.createNamingService(properties);
// } }
// log.info(" config.group : {}", group); log.info(" config.group : {}", group);
// List<Instance> list = this.naming.selectInstances(routeId, group , true); List<Instance> list = this.naming.selectInstances(routeId, group , true);
// if (ObjectUtil.isNotEmpty(list)) { if (ObjectUtil.isNotEmpty(list)) {
// hasRoute = true; hasRoute = true;
// } }
// } catch (Exception e) { } catch (Exception e) {
// e.printStackTrace(); e.printStackTrace();
// } }
// return hasRoute; return hasRoute;
// } }
//} }

View File

@ -1,41 +1,41 @@
//package org.jeecg.handler.swagger; package org.jeecg.handler.swagger;
//
//import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
//import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
//import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
//import springfox.documentation.swagger.web.*; import springfox.documentation.swagger.web.*;
//
//import java.util.List; import java.util.List;
//
///** 已使用knife4j-gateway支持该功能 /** 已使用knife4j-gateway支持该功能
// * swagger聚合接口三个接口都是 doc.html需要访问的接口 * swagger聚合接口三个接口都是 doc.html需要访问的接口
// * @author zyf * @author zyf
// * @date: 2022/4/21 10:55 * @date: 2022/4/21 10:55
// */ */
//@RestController @RestController
//@RequestMapping("/swagger-resources") @RequestMapping("/swagger-resources")
//public class SwaggerResourceController { public class SwaggerResourceController {
// private MySwaggerResourceProvider swaggerResourceProvider; private MySwaggerResourceProvider swaggerResourceProvider;
//
// @Autowired @Autowired
// public SwaggerResourceController(MySwaggerResourceProvider swaggerResourceProvider) { public SwaggerResourceController(MySwaggerResourceProvider swaggerResourceProvider) {
// this.swaggerResourceProvider = swaggerResourceProvider; this.swaggerResourceProvider = swaggerResourceProvider;
// } }
//
// @RequestMapping(value = "/configuration/security") @RequestMapping(value = "/configuration/security")
// public ResponseEntity<SecurityConfiguration> securityConfiguration() { public ResponseEntity<SecurityConfiguration> securityConfiguration() {
// return new ResponseEntity<>(SecurityConfigurationBuilder.builder().build(), HttpStatus.OK); return new ResponseEntity<>(SecurityConfigurationBuilder.builder().build(), HttpStatus.OK);
// } }
//
// @RequestMapping(value = "/configuration/ui") @RequestMapping(value = "/configuration/ui")
// public ResponseEntity<UiConfiguration> uiConfiguration() { public ResponseEntity<UiConfiguration> uiConfiguration() {
// return new ResponseEntity<>(UiConfigurationBuilder.builder().build(), HttpStatus.OK); return new ResponseEntity<>(UiConfigurationBuilder.builder().build(), HttpStatus.OK);
// } }
//
// @RequestMapping @RequestMapping
// public ResponseEntity<List<SwaggerResource>> swaggerResources() { public ResponseEntity<List<SwaggerResource>> swaggerResources() {
// return new ResponseEntity<>(swaggerResourceProvider.get(), HttpStatus.OK); return new ResponseEntity<>(swaggerResourceProvider.get(), HttpStatus.OK);
// } }
//} }

View File

@ -1,6 +1,6 @@
server: server:
port: 7001 port: 7001
spring: spring:
application: application:
name: jeecg-system name: jeecg-system

View File

@ -53,20 +53,19 @@
<kingbase8.version>9.0.0</kingbase8.version> <kingbase8.version>9.0.0</kingbase8.version>
<dm8.version>8.1.1.49</dm8.version> <dm8.version>8.1.1.49</dm8.version>
<!-- 积木报表--> <!-- 积木报表-->
<jimureport-spring-boot-starter.version>1.9.4</jimureport-spring-boot-starter.version> <jimureport-spring-boot-starter.version>1.9.4</jimureport-spring-boot-starter.version>
<!-- 持久层 --> <!-- 持久层 -->
<mybatis-plus.version>3.5.3.2</mybatis-plus.version> <mybatis-plus.version>3.5.3.2</mybatis-plus.version>
<dynamic-datasource-spring-boot-starter.version>4.1.3</dynamic-datasource-spring-boot-starter.version> <dynamic-datasource-spring-boot-starter.version>4.1.3</dynamic-datasource-spring-boot-starter.version>
<druid.version>1.2.22</druid.version> <druid.version>1.2.24</druid.version>
<commons-io.version>2.11.0</commons-io.version> <commons-io.version>2.11.0</commons-io.version>
<commons.version>2.6</commons.version> <commons.version>2.6</commons.version>
<aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version> <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
<aliyun.oss.version>3.17.3</aliyun.oss.version> <aliyun.oss.version>3.17.3</aliyun.oss.version>
<!-- shiro --> <!-- shiro -->
<shiro.version>1.12.0</shiro.version> <shiro.version>2.0.4</shiro.version>
<java-jwt.version>3.11.0</java-jwt.version> <java-jwt.version>3.11.0</java-jwt.version>
<shiro-redis.version>3.2.2</shiro-redis.version> <shiro-redis.version>3.2.2</shiro-redis.version>
<codegenerate.version>1.4.9</codegenerate.version> <codegenerate.version>1.4.9</codegenerate.version>
@ -79,8 +78,8 @@
<baidu-java-sdk.version>4.16.19</baidu-java-sdk.version> <baidu-java-sdk.version>4.16.19</baidu-java-sdk.version>
<!-- Log4j2爆雷漏洞 --> <!-- Log4j2爆雷漏洞 -->
<!-- spring boot 3 不支持下列两个版本--> <!-- spring boot 3 不支持下列两个版本-->
<!--<log4j2.version>2.17.0</log4j2.version> <!--<log4j2.version>2.17.0</log4j2.version>-->
<logback.version>1.2.9</logback.version>--> <logback.version>1.4.12</logback.version>
</properties> </properties>
<modules> <modules>
@ -384,8 +383,8 @@
<!-- 企业微信和钉钉 api --> <!-- 企业微信和钉钉 api -->
<dependency> <dependency>
<groupId>org.jeecgframework</groupId> <groupId>org.jeecgframework</groupId>
<artifactId>jeewx-api</artifactId> <artifactId>weixin4j</artifactId>
<version>1.5.2</version> <version>2.0.0</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>commons-beanutils</artifactId> <artifactId>commons-beanutils</artifactId>
@ -428,7 +427,13 @@
<dependency> <dependency>
<groupId>org.jeecgframework.jimureport</groupId> <groupId>org.jeecgframework.jimureport</groupId>
<artifactId>jimureport-nosql-starter</artifactId> <artifactId>jimureport-nosql-starter</artifactId>
<version>${jimureport-spring-boot-starter.version}</version> <version>1.9.4.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-elasticsearch</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- 积木BI大屏和仪表盘 --> <!-- 积木BI大屏和仪表盘 -->
<dependency> <dependency>
@ -442,7 +447,6 @@
<artifactId>jeecg-boot-starter3-chatgpt</artifactId> <artifactId>jeecg-boot-starter3-chatgpt</artifactId>
<version>${jeecgboot.version}</version> <version>${jeecgboot.version}</version>
</dependency> </dependency>
<!--flyway 支持 mysql5.7+、MariaDB10.3.16--> <!--flyway 支持 mysql5.7+、MariaDB10.3.16-->
<!--mysql5.6需要把版本号改成5.2.1--> <!--mysql5.6需要把版本号改成5.2.1-->
<dependency> <dependency>