微信小程序 运力方使用onAuthInfoGet


本文整理自网络,侵删。

immediateDelivery.onAuthInfoGet

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

使用授权码拉取授权信息

消息参数

Object

属性类型说明
ToUserNamestring快递公司小程序 UserName
FromUserNamestring微信团队的 OpenID (固定值)
CreateTimenumber事件时间,Unix时间戳
MsgTypestring消息类型,固定为 event
Eventstring事件类型,固定为 get_auth_info,不区分大小写
wx_appidstring发起授权的商户小程序appid
codestring授权码

消息返回

属性类型默认值必填说明
ToUserNamestring原样返回请求中的 FromUserName
FromUserNamestring快递公司小程序 UserName
CreateTimenumber事件时间,Unix时间戳
MsgTypestring消息类型,固定为 event
Eventstring事件类型,固定为 get_auth_info,不区分大小写
resultcodenumber错误码
resultmsgstring错误描述
appkeystring配送公司分配的appkey,对应shopid
accountstring帐号名称
account_typenumber帐号类型:0.不确定,1.预充值,2,月结,3,其它



标签:微信小程序

相关阅读 >>

微信小程序api nfc-isodep标签

微信小程序api udp通信

微信小程序 weui半屏弹窗

微信小程序 msgseccheck

微信小程序 小程序使用getorder

sdk数据库 database发起事务

微信小程序开发教程手册文档

微信小程序api 数据分析

微信小程序 运力方使用onpreauthcodeget

微信小程序 getvisitdistribution

更多相关阅读请进入《微信小程序》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...