From 4dc7964ef45a954fb46d533dad429700a901a972 Mon Sep 17 00:00:00 2001
From: yyb <1416014977@qq.com>
Date: Fri, 25 Apr 2025 14:33:20 +0800
Subject: [PATCH] =?UTF-8?q?update=20knife4j=20=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
m2pool-common/common-swagger/pom.xml | 12 +++----
m2pool-gateway/pom.xml | 32 +++++++++++--------
.../service/impl/ChatRoomServiceImpl.java | 2 +-
.../src/main/resources/bootstrap-test.yml | 7 ----
m2pool-modules/m2pool-pool/pom.xml | 1 +
m2pool-modules/m2pool-system/pom.xml | 1 +
6 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/m2pool-common/common-swagger/pom.xml b/m2pool-common/common-swagger/pom.xml
index 71929ab..6f71005 100644
--- a/m2pool-common/common-swagger/pom.xml
+++ b/m2pool-common/common-swagger/pom.xml
@@ -24,12 +24,12 @@
spring-boot-starter-web
-
-
- io.springfox
- springfox-swagger2
- ${swagger.fox.version}
-
+
+
+
+
+
+
com.github.xiaoymin
diff --git a/m2pool-gateway/pom.xml b/m2pool-gateway/pom.xml
index 9f40bfa..1abd3a1 100644
--- a/m2pool-gateway/pom.xml
+++ b/m2pool-gateway/pom.xml
@@ -71,15 +71,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
- io.springfox
- springfox-swagger-ui
- ${swagger.fox.version}
+ com.github.xiaoymin
+ knife4j-spring-boot-starter
+ 3.0.3
+
- io.springfox
- springfox-swagger2
- ${swagger.fox.version}
+ com.github.xiaoymin
+ knife4j-spring-ui
+ 3.0.3
@@ -105,13 +118,6 @@
common-core
-
-
- com.github.xiaoymin
- knife4j-spring-ui
- 3.0.3
-
-
com.github.xiaoymin
knife4j-spring-boot-starter
diff --git a/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/service/impl/ChatRoomServiceImpl.java b/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/service/impl/ChatRoomServiceImpl.java
index a8e418b..30a727a 100644
--- a/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/service/impl/ChatRoomServiceImpl.java
+++ b/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/service/impl/ChatRoomServiceImpl.java
@@ -44,7 +44,7 @@ public class ChatRoomServiceImpl extends ServiceImpl i
public TableDataInfo findRoomList(RoomPageVo roomPageVo) {
String userEmail = SecurityUtils.getUsername();
PageHelper.startPage(1, 20);
- System.out.println("-----时间"+roomPageVo.getSendDateTime()+"-----------用户"+userEmail + "-----当前时间"+ System.currentTimeMillis());
+// System.out.println("-----时间"+roomPageVo.getSendDateTime()+"-----------用户"+userEmail + "-----当前时间"+ System.currentTimeMillis());
//1.查找当前客服对应的聊天室
List roomList = chatRoomMapper.findRoomList(userEmail,roomPageVo.getSendDateTime());
List userEmails = roomList.stream().map(ChatRoomDto::getUserEmail).collect(Collectors.toList());
diff --git a/m2pool-modules/m2pool-chat/src/main/resources/bootstrap-test.yml b/m2pool-modules/m2pool-chat/src/main/resources/bootstrap-test.yml
index d952a85..3712cc8 100644
--- a/m2pool-modules/m2pool-chat/src/main/resources/bootstrap-test.yml
+++ b/m2pool-modules/m2pool-chat/src/main/resources/bootstrap-test.yml
@@ -39,10 +39,3 @@ spring:
max-file-size: 2MB
max-request-size: 8MB
-websocket:
- transport:
- message-size-limit: 1500 # 消息大小限制 1.5k 约500汉字
- send-time-limit: 5000 # 发送超时时间 5秒
- send-buffer-size-limit: 65536 # 发送缓冲区大小 64K
- time-to-first-message: 5000 # 首次消息超时时间 5秒
- max-connections: 100 # 最大连接数
\ No newline at end of file
diff --git a/m2pool-modules/m2pool-pool/pom.xml b/m2pool-modules/m2pool-pool/pom.xml
index 6b3ad59..e7dd67d 100644
--- a/m2pool-modules/m2pool-pool/pom.xml
+++ b/m2pool-modules/m2pool-pool/pom.xml
@@ -201,6 +201,7 @@
org.springframework.boot
spring-boot-maven-plugin
+ 2.5.6
diff --git a/m2pool-modules/m2pool-system/pom.xml b/m2pool-modules/m2pool-system/pom.xml
index 7ad4d1d..467fe66 100644
--- a/m2pool-modules/m2pool-system/pom.xml
+++ b/m2pool-modules/m2pool-system/pom.xml
@@ -95,6 +95,7 @@
org.springframework.boot
spring-boot-maven-plugin
+ 2.5.6