From 8158131291480aac46e43b3d213bf03b9cb88f1f Mon Sep 17 00:00:00 2001 From: liyj <1617420630@qq.com> Date: Fri, 23 May 2025 11:25:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?im=E7=A6=BB=E7=BA=BF=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E7=B1=BB=E5=9E=8B=E5=92=8C=E9=95=BF=E5=BA=A6?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../websocket/service/onchat/MallsuiteImSocketHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mall-im/src/main/java/com/suisung/mall/im/common/websocket/service/onchat/MallsuiteImSocketHandler.java b/mall-im/src/main/java/com/suisung/mall/im/common/websocket/service/onchat/MallsuiteImSocketHandler.java index 9a110c5c..82ed6eb2 100644 --- a/mall-im/src/main/java/com/suisung/mall/im/common/websocket/service/onchat/MallsuiteImSocketHandler.java +++ b/mall-im/src/main/java/com/suisung/mall/im/common/websocket/service/onchat/MallsuiteImSocketHandler.java @@ -221,9 +221,9 @@ public class MallsuiteImSocketHandler implements WebSocketHandler { } else { sendVO.setToid(mine.getId()); sendVO.setContent(to.getName() + " 对方现在离线,他将在上线后收到你的消息!"); - + sendVO.setMsg_type("text"); + sendVO.setMessage_length("0"); sendVO.setId(to.getId()); - this.sendMessageToUser(sender, sendVO);//同时向本人发送对方不在线消息 chat.setStatus("0");//设置为未读 } From f0504bac5e1164ce68817a2208b3fca520d663f4 Mon Sep 17 00:00:00 2001 From: liyj <1617420630@qq.com> Date: Fri, 23 May 2025 14:21:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/resources/application.yml b/client/src/main/resources/application.yml index 6b48c137..eb19c279 100644 --- a/client/src/main/resources/application.yml +++ b/client/src/main/resources/application.yml @@ -12,4 +12,4 @@ logging: charset: console: UTF-8 -remoteIp: https://mall.gpxscs.cn \ No newline at end of file +remoteIp: https://mall.gpxscs.cn/api \ No newline at end of file