From c47c321b7647052be94d3c92efe655dd437a7759 Mon Sep 17 00:00:00 2001 From: yyb <1416014977@qq.com> Date: Tue, 15 Apr 2025 15:41:18 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BF=AE=E6=94=B9pom.xml=E6=96=87?= =?UTF-8?q?=E4=BB=B6spring-boot-maven-plugin=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- m2pool-auth/pom.xml | 1 + m2pool-gateway/pom.xml | 1 + m2pool-modules/m2pool-chat/pom.xml | 1 + .../com/m2pool/chat/controller/ChatMessageController.java | 7 ++----- .../com/m2pool/chat/controller/ChatRoomController.java | 2 +- m2pool-modules/m2pool-file/pom.xml | 1 + m2pool-modules/m2pool-oapi/pom.xml | 1 + m2pool-modules/m2pool-pool/pom.xml | 1 + m2pool-modules/m2pool-system/pom.xml | 1 + 9 files changed, 10 insertions(+), 6 deletions(-) diff --git a/m2pool-auth/pom.xml b/m2pool-auth/pom.xml index 5d7eaca..89954d2 100644 --- a/m2pool-auth/pom.xml +++ b/m2pool-auth/pom.xml @@ -67,6 +67,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.5.6 diff --git a/m2pool-gateway/pom.xml b/m2pool-gateway/pom.xml index fae7029..c6b8ac2 100644 --- a/m2pool-gateway/pom.xml +++ b/m2pool-gateway/pom.xml @@ -113,6 +113,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.5.6 diff --git a/m2pool-modules/m2pool-chat/pom.xml b/m2pool-modules/m2pool-chat/pom.xml index b3f6866..a91ff1c 100644 --- a/m2pool-modules/m2pool-chat/pom.xml +++ b/m2pool-modules/m2pool-chat/pom.xml @@ -206,6 +206,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.5.6 diff --git a/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatMessageController.java b/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatMessageController.java index 6588cb1..a362ba5 100644 --- a/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatMessageController.java +++ b/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatMessageController.java @@ -6,10 +6,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("/chat/message") @@ -60,7 +57,7 @@ public class ChatMessageController { return chatMessageService.deleteMessage(id,type); } - @GetMapping("/read/message") + @PostMapping("/read/message") @ApiOperation(value = "聊天室消息改已读") public AjaxResult readMessage( @ApiParam(value = "聊天室id", required = true, example = "1") diff --git a/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatRoomController.java b/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatRoomController.java index 72162a3..c6ef227 100644 --- a/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatRoomController.java +++ b/m2pool-modules/m2pool-chat/src/main/java/com/m2pool/chat/controller/ChatRoomController.java @@ -33,7 +33,7 @@ public class ChatRoomController { } - @GetMapping("/update/room") + @PostMapping("/update/room") @ApiOperation(value = "修改room相关信息") public AjaxResult updateRoom(@RequestBody CharRoomVo charRoomVo) { return chatRoomService.updateRoom(charRoomVo); diff --git a/m2pool-modules/m2pool-file/pom.xml b/m2pool-modules/m2pool-file/pom.xml index c299468..508d706 100644 --- a/m2pool-modules/m2pool-file/pom.xml +++ b/m2pool-modules/m2pool-file/pom.xml @@ -69,6 +69,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.5.6 diff --git a/m2pool-modules/m2pool-oapi/pom.xml b/m2pool-modules/m2pool-oapi/pom.xml index b198e2c..55a37b2 100644 --- a/m2pool-modules/m2pool-oapi/pom.xml +++ b/m2pool-modules/m2pool-oapi/pom.xml @@ -144,6 +144,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.5.6 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