微信小程序 运力方使用onPreAuthCodeGet


本文整理自网络,侵删。

immediateDelivery.onPreAuthCodeGet

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

获取预授权码

消息参数

Object

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

消息返回

属性类型默认值必填说明
ToUserNamestring原样返回请求中的 FromUserName
FromUserNamestring快递公司小程序 UserName
CreateTimenumber事件时间,Unix时间戳
MsgTypestring消息类型,固定为 event
Eventstring事件类型,固定为 get_pre_auth_code,不区分大小写
resultcodenumber错误码
resultmsgstring错误描述
pre_auth_codestring预授权码



标签:微信小程序

相关阅读 >>

微信小程序 框架扩展mobx绑定辅助库

微信小程序云开发api 构造一个服务端时间的引用

微信小程序api wifi

微信小程序 组件间关系

微信小程序api nfc-nfcv标签

微信小程序api 绘图-绘制画布 drawcanvas (不推荐使用)

微信小程序api 绘图globalcompositeoperation

sdk数据库 command查询字段操作符

微信小程序 语句

微信小程序 事件系统

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




打赏

取消

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

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

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

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

评论

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