Skip to content

getReportStatusMessage调用出错 #72

@ok958726

Description

@ok958726

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."}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions