后浪云小程序教程:微信小程序 运力方使用·onCancelAuth

immediateDelivery.onCancelAuth

本文档描述服务器端接收的消息或事件,详细说明参见 消息推送。

取消授权帐号

消息参数

Object

属性 类型 说明
ToUserName string 快递公司小程序 UserName
FromUserName string 微信团队的 OpenID (固定值)
CreateTime number 事件时间,Unix时间戳
MsgType string 消息类型,固定为 event
Event string 事件类型,固定为 cancel_auth_account,不区分大小写
shopid string 商家id, 配送公司唯一标识
wx_appid string 发起授权的商户小程序appid

消息返回

属性 类型 默认值 必填 说明
ToUserName string 原样返回请求中的 FromUserName
FromUserName string 快递公司小程序 UserName
CreateTime number 事件时间,Unix时间戳
MsgType string 消息类型,固定为 event
Event string 事件类型,固定为 cancel_auth_account,不区分大小写
resultcode number 错误码
resultmsg string 错误描述

THE END