From ae021fd14801d4317fc24d3f23dad8a5ec33f74b Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 20 Jan 2026 00:44:45 +0000 Subject: [PATCH] =?UTF-8?q?fix(push):=20=E4=BF=AE=E5=A4=8D=E5=8F=8B?= =?UTF-8?q?=E7=9B=9F=E5=BB=B6=E8=BF=9F=E6=8E=A8=E9=80=81=E5=B7=B2=E8=AF=BB?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 消息ID取值路径错误,导致延迟推送时无法正确判断消息已读状态, 用户在PC端阅读消息后APP仍会收到重复推送。 Co-Authored-By: Claude Opus 4.5 --- app/Tasks/PushUmengMsg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Tasks/PushUmengMsg.php b/app/Tasks/PushUmengMsg.php index fc6f087d4..de03044f9 100644 --- a/app/Tasks/PushUmengMsg.php +++ b/app/Tasks/PushUmengMsg.php @@ -38,7 +38,7 @@ class PushUmengMsg extends AbstractTask } // 消息ID - $msgId = isset($this->array['id']) ? intval($this->array['id']) : 0; + $msgId = isset($this->array['extra']['msg_id']) ? intval($this->array['extra']['msg_id']) : 0; // 处理用户列表 $userids = is_array($this->userid) ? $this->userid : [$this->userid];