Skip to content

Commit 1ef5417

Browse files
committed
build: continew-starter 2.12.0 => 2.12.1
1.原 Web 工具类迁移到 core 模块 2.pom.xml 增加 name 和 packaging 标签 3.使用 WebSocketUtils.sendMessage 群发消息 4.Jackson 大数值序列化增加多模式支持
1 parent 881974f commit 1ef5417

File tree

21 files changed

+46
-14
lines changed

21 files changed

+46
-14
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<img src="https://img.shields.io/badge/SNAPSHOT-v3.7.0-%23ff3f59.svg" alt="Release" />
55
</a>
66
<a href="https://github.com/continew-org/continew-starter" title="ContiNew Starter" target="_blank">
7-
<img src="https://img.shields.io/badge/ContiNew Starter-2.12.0-%236CB52D.svg" alt="ContiNew Starter" />
7+
<img src="https://img.shields.io/badge/ContiNew Starter-2.12.1-%236CB52D.svg" alt="ContiNew Starter" />
88
</a>
99
<a href="https://spring.io/projects/spring-boot" title="Spring Boot" target="_blank">
1010
<img src="https://img.shields.io/badge/Spring Boot-3.3.11-%236CB52D.svg?logo=Spring-Boot" alt="Spring Boot" />
@@ -213,13 +213,13 @@ public class DeptController extends BaseController<DeptService, DeptResp, DeptDe
213213

214214
## 核心技术栈
215215

216-
| 名称 | 版本 | 简介 |
217-
| :----------------------------------------------------------- | :----------- | :----------------------------------------------------------- |
216+
| 名称 | 版本 | 简介 |
217+
| :----------------------------------------------------------- |:-------------| :----------------------------------------------------------- |
218218
| <a href="https://vuejs.org/" target="_blank">Vue</a> | 3.5.4 | 渐进式 JavaScript 框架,易学易用,性能出色,适用场景丰富的 Web 前端框架。 |
219219
| <a href="https://arco.design/vue/docs/start" target="_blank">Arco Design</a> | 2.57.0 | 字节跳动推出的前端 UI 框架,年轻化的色彩和组件设计。 |
220220
| <a href="https://www.typescriptlang.org/zh/" target="_blank">TypeScript</a> | 5.0.4 | TypeScript 是微软开发的一个开源的编程语言,通过在 JavaScript 的基础上添加静态类型定义构建而成。 |
221221
| <a href="https://vite.dev/" target="_blank">Vite</a> | 5.1.5 | 下一代的前端工具链,为开发提供极速响应。 |
222-
| [ContiNew Starter](https://github.com/continew-org/continew-starter) | 2.12.0 | ContiNew Starter 包含了一系列经过企业实践优化的依赖包(如 MyBatis-Plus、SaToken),可轻松集成到应用中,为开发人员减少手动引入依赖及配置的麻烦,为 Spring Boot Web 项目的灵活快速构建提供支持。 |
222+
| [ContiNew Starter](https://github.com/continew-org/continew-starter) | 2.12.1 | ContiNew Starter 包含了一系列经过企业实践优化的依赖包(如 MyBatis-Plus、SaToken),可轻松集成到应用中,为开发人员减少手动引入依赖及配置的麻烦,为 Spring Boot Web 项目的灵活快速构建提供支持。 |
223223
| <a href="https://spring.io/projects/spring-boot" target="_blank">Spring Boot</a> | 3.3.11 | 简化 Spring 应用的初始搭建和开发过程,基于“约定优于配置”的理念,使开发人员不再需要定义样板化的配置。(Spring Boot 3.0 开始,要求 Java 17 作为最低版本) |
224224
| <a href="https://undertow.io/" target="_blank">Undertow</a> | 2.3.18.Final | 采用 Java 开发的灵活的高性能 Web 服务器,提供包括阻塞和基于 NIO 的非堵塞机制。 |
225225
| <a href="https://sa-token.dev33.cn/" target="_blank">Sa-Token + JWT</a> | 1.42.0 | 轻量级 Java 权限认证框架,让鉴权变得简单、优雅。 |

continew-common/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
</parent>
1111

1212
<artifactId>continew-common</artifactId>
13+
<packaging>jar</packaging>
14+
15+
<name>${project.artifactId}</name>
1316
<description>公共模块(存放公共工具类,公共配置等)</description>
1417

1518
<dependencies>

continew-common/src/main/java/top/continew/admin/common/config/exception/GlobalExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
public class GlobalExceptionHandler {
5454

5555
/**
56-
* 自定义基类异常
56+
* 自定义异常
5757
*/
5858
@ExceptionHandler(BaseException.class)
5959
public R handleBaseException(BaseException e, HttpServletRequest request) {

continew-common/src/main/java/top/continew/admin/common/context/UserExtraContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import lombok.NoArgsConstructor;
2424
import top.continew.starter.core.util.ExceptionUtils;
2525
import top.continew.starter.core.util.IpUtils;
26-
import top.continew.starter.web.util.ServletUtils;
26+
import top.continew.starter.core.util.ServletUtils;
2727

2828
import java.io.Serial;
2929
import java.io.Serializable;

continew-extension/continew-extension-schedule-server/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
</parent>
1111

1212
<artifactId>continew-extension-schedule-server</artifactId>
13+
<packaging>jar</packaging>
14+
15+
<name>${project.artifactId}</name>
1316
<description>任务调度服务端</description>
1417

1518
<properties>

continew-extension/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
<artifactId>continew-extension</artifactId>
1111
<packaging>pom</packaging>
12+
13+
<name>${project.artifactId}</name>
1214
<description>扩展模块(存放其他扩展模块)</description>
1315

1416
<modules>

continew-module-system/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
</parent>
1111

1212
<artifactId>continew-module-system</artifactId>
13+
<packaging>jar</packaging>
14+
15+
<name>${project.artifactId}</name>
1316
<description>系统管理模块(存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)</description>
1417

1518
<dependencies>

continew-module-system/src/main/java/top/continew/admin/auth/AbstractLoginHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import top.continew.admin.system.service.UserService;
3939
import top.continew.starter.core.validation.CheckUtils;
4040
import top.continew.starter.core.validation.Validator;
41-
import top.continew.starter.web.util.ServletUtils;
41+
import top.continew.starter.core.util.ServletUtils;
4242

4343
import java.util.Set;
4444
import java.util.concurrent.CompletableFuture;

continew-module-system/src/main/java/top/continew/admin/system/service/impl/FileServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public FileInfo upload(MultipartFile file, String parentPath, String storageCode
9595
String extName = FileNameUtil.extName(file.getOriginalFilename());
9696
List<String> allExtensions = FileTypeEnum.getAllExtensions();
9797
CheckUtils.throwIf(!allExtensions.contains(extName), "不支持的文件类型,仅支持 {} 格式的文件", String
98-
.join(StringConstants.CHINESE_COMMA, allExtensions));
98+
.join(StringConstants.COMMA, allExtensions));
9999
// 构建上传预处理对象
100100
StorageDO storage = storageService.getByCode(storageCode);
101101
CheckUtils.throwIf(DisEnableStatusEnum.DISABLE.equals(storage.getStatus()), "请先启用存储 [{}]", storage.getCode());

continew-module-system/src/main/java/top/continew/admin/system/service/impl/MessageServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void add(MessageReq req, List<String> userIdList) {
114114
return;
115115
}
116116
// 发送消息给所有在线用户
117-
// TODO WebSocketUtils.sendMessage("1");
117+
WebSocketUtils.sendMessage("1");
118118
}
119119

120120
@Override

0 commit comments

Comments
 (0)