From 60bc428e028c8cfd4ec05f6853d5cad55e737038 Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Fri, 26 Jun 2026 17:25:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(xiaomi):=20=E6=8E=A8=E9=80=81=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=A2=9E=E5=8A=A0=20INFO=20=E6=97=A5=E5=BF=97?= =?UTF-8?q?=EF=BC=8C=E6=96=B9=E4=BE=BF=E6=8E=92=E6=9F=A5=2027001=20?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xuqm/push/service/provider/XiaomiPushProvider.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/push-service/src/main/java/com/xuqm/push/service/provider/XiaomiPushProvider.java b/push-service/src/main/java/com/xuqm/push/service/provider/XiaomiPushProvider.java index 39aa9c4..53db253 100644 --- a/push-service/src/main/java/com/xuqm/push/service/provider/XiaomiPushProvider.java +++ b/push-service/src/main/java/com/xuqm/push/service/provider/XiaomiPushProvider.java @@ -77,6 +77,10 @@ public class XiaomiPushProvider implements PushProvider { if (!channelId.isBlank()) { form.append("&channel_id=").append(URLEncoder.encode(channelId, StandardCharsets.UTF_8)); } + log.info("Xiaomi push request: pkg={} channelId={} notifyType={} tokenPrefix={}", + packageName, channelId.isBlank() ? "(none)" : channelId, + notifyType == null ? 1 : notifyType, + token.length() > 8 ? token.substring(0, 8) : token); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create(pushUrl))