fix(xiaomi): 推送请求增加 INFO 日志,方便排查 27001 问题
这个提交包含在:
父节点
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))
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户