用户允许小程序消息推送,微信回调本地服务接口,返回数据结构(json)和文档中的不一致
发布于 3 年前 作者 qiang06 1727 次浏览 来自 官方Issues

{

“ToUserName”: “gh_123456789abc”,

“FromUserName”: “o7esq5OI1Uej6Xixw1lA2H7XDVbc”,

“CreateTime”: “1620973045”,

“MsgType”: “event”,

“Event”: “subscribe_msg_popup_event”,

“SubscribeMsgPopupEvent”: [ {

“TemplateId”: “hD-ixGOhYmUfjOnI8MCzQMPshzGVeux_2vzyvQu7O68”,

“SubscribeStatusString”: “accept”,

“PopupScene”: “0”

}],

}

实际上是:

{

    “ToUserName”:“XXXXXXX”,

    “FromUserName”:“XXXXXX”,

    “CreateTime”:1627470321,

    “MsgType”:“event”,

    “Event”:“subscribe_msg_popup_event”,

  "List":{

        "PopupScene":"0",

        "SubscribeStatusString":"accept",

        "TemplateId":"XXXXXXXXXXXX"

    },

    “Encrypt”:“XX+XXX+XX+2a0u8M5Z/hTfuHB8+XX/3Q6An/XX+l2Tb0o5r8/rRQrgT+XX/XXXXXXXXXXXX/XPPsQWKGr2rPA=”

}

回到顶部