fix(xiaomi): 推送请求增加 INFO 日志,方便排查 27001 问题

这个提交包含在:
XuqmGroup 2026-06-26 17:25:58 +08:00
父节点 7eb4d5ca1a
当前提交 60bc428e02

查看文件

@ -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))