EventKey的subscribe关注事件示例

2020-08-15 08:34:45
如果用户曾经在该公众号有支付行为,关注的时候EventKey中将包含上次交易订单号,如

last_trade_no_4002752001201704258347703919

<xml>    <ToUserName><![CDATA[gh_fcc4da210ff0]]></ToUserName>     <FromUserName><![CDATA[oiPuduCHIBb2aHvZoqSm1t7KbXtw]]></FromUserName>     <CreateTime>1493702623</CreateTime>     <MsgType><![CDATA[event]]></MsgType>     <Event><![CDATA[subscribe]]></Event>     <EventKey><![CDATA[last_trade_no_4002752001201704258347703919]]></EventKey> </xml>

【相关推荐】

1. 微信公众号平台源码下载

2. 微信投票源码下载