微信小程序 运力方使用·onAuthInfoGet

immediateDelivery.onAuthInfoGet

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

使用授权码拉取授权信息

消息参数

Object

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

消息返回

属性 类型 默认值 必填 说明
ToUserName string 原样返回请求中的 FromUserName
FromUserName string 快递公司小程序 UserName
CreateTime number 事件时间,Unix时间戳
MsgType string 消息类型,固定为 event
Event string 事件类型,固定为 get_auth_info,不区分大小写
resultcode number 错误码
resultmsg string 错误描述
appkey string 配送公司分配的appkey,对应shopid
account string 帐号名称
account_type number 帐号类型:0.不确定,1.预充值,2,月结,3,其它

版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《微信小程序 运力方使用·onAuthInfoGet》
文章链接:https://zhuji.vsping.com/310146.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。