jpush-api-nodejs-client icon indicating copy to clipboard operation
jpush-api-nodejs-client copied to clipboard

getReportStatusMessage调用出错

Open ok958726 opened this issue 4 years ago • 0 comments

JPushAsync.js的getReportStatusMessage函数中: var json = { "msg_id": msgId > Number.MAX_SAFE_INTEGER ? String(msgId) : msgId, "registration_ids": registrationIds }; 但是现在很多msgId大于 Number.MAX_SAFE_INTEGER,发送的是字符串。服务端验证又通不过,返回错误: {"error":{"code":3002,"message":"Invalid parameter msg_id."}}

ok958726 avatar Mar 23 '21 15:03 ok958726