Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat small program capacity party to use onCancelAuth


May 20, 2021 WeChat Mini Program Development Document



immediateDelivery.onCancelAuth

This document describes messages or events received on the server side, see Message Push for details.

Cancel the authorized account

The message parameter

Object

Property Type Description
ToUserName string Express company small program UserName
FromUserName string WeChat team's OpenID (fixed value)
CreateTime number Event time, Unix timestamp
MsgType string Message type, pinned to event
Event string The event type, fixed to cancel_auth_account, is case insensescies
shopid string Merchant id, the unique logo of the distribution company
wx_appid string Launch an authorized merchant applet appid

The message returns

Property Type The default Required Description
ToUserName string Is Return as is fromUserName in the request
FromUserName string Is Express company small program UserName
CreateTime number Is Event time, Unix timestamp
MsgType string Is Message type, pinned to event
Event string Is The event type, fixed to cancel_auth_account, is case insensescies
resultcode number Is Error code
resultmsg string Is The error description