微信开放平台 第三方平台
授权流程技术说明 第一步
1、推送component_verify_ticket协议
在第三方平台创建审核通过后,微信服务器会向其“授权事件接收URL”每隔10分钟定时推送component_verify_ticket。第三方平台方在收到ticket推送后也需进行解密(详细请见【消息加解密接入指引】),接收到后必须直接返回字符串success。
POST数据示例
<xml>
<AppId> </AppId>
<CreateTime>1413192605 </CreateTime>
<InfoType> </InfoType>
<ComponentVerifyTicket> </ComponentVerifyTicket>
</xml>
字段说明
字段名称 | 字段描述 |
---|---|
AppId | 第三方平台appid |
CreateTime | 时间戳 |
InfoType | component_verify_ticket |
ComponentVerifyTicket | Ticket内容 |
解密 微信推送的component_verify_ticket 推送的url 是
授权事件接收URL
他会在你url后面给你穿四个参数会以这样GET的形式传送到你的url所以你只需要GET接收就OK了
http://[授权事件接收URL]?encrypt_type=aes
×tamp=1438521627
&