΢ŽӿϢӿָ-Ѷ-΢ſ-Ƽ
Ƽ վ:ϾӢ|΢|
վҳhome վweb Const ϵͳSystem Dev ΢ſwx Dev վƹWebsite SEO վWebsite SM ͻClient case վģWeb template About us
΢ſ
΢ϵͳ ΢ſ ںŻ̳ Ѷ ںƹӪ ͻ
ϵ
QQȺ:28519571 ʱ:86-0898-31568080 :86-0898-31568085 24Сʱ:0138-07590485
 ڵλã ҳ >> ΢ſ >> Ѷ Ѷ
΢ŽӿϢӿָ
Ƽ | 2018-01-26 23:29:29 | Ķ:800
ƽ̨ϢӿΪṩһµϢʽ

Ϣӿ

дַurltokentokenɿ߿дǩ
 

ַ
ƽ̨ûύϢ΢ŷGETдURLϣҴĸ
signature ΢żǩ
timestamp ʱ
nonce
echostr ַ
ͨsignatureУ飨У鷽ʽȷϴ˴GET΢ŷԭechostrݣЧʧܡsignature˿дtokenеtimestampnonce/У̣1. tokentimestampnonceֵ2. ַƴӳһַsha13. ߻üַܺsignatureԱȣʶԴ΢
Ϣ
ͨ΢û˺ŷϢʱ΢ŷPOSTϢдURLϡṹ£ıϢ<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1348831860</CreateTime>
<MsgType><![CDATA[text]]></MsgType>
<Content><![CDATA[this is a test]]></Content>
<MsgId>1234567890123456</MsgId>
</xml>

ToUserName ΢ź
FromUserName ͷʺţһOpenID
CreateTime Ϣʱ ͣ
MsgType text
Content ıϢ
MsgId Ϣid64λ

ͼƬϢ


<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1348831860</CreateTime>
<MsgType><![CDATA[image]]></MsgType>
<icUrl><![CDATA[this is a url]]></PicUrl>
<MsgId>1234567890123456</MsgId>
</xml>

ToUserName ΢ź
FromUserName ͷʺţһOpenID
CreateTime Ϣʱ ͣ
MsgType image
PicUrl ͼƬ
MsgId Ϣid64λ


λϢ

<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1351776360</CreateTime>
<MsgType><![CDATA[location]]></MsgType>
<Location_X>23.134521</Location_X>
<Location_Y>113.358803</Location_Y>
<Scale>20</Scale>
<Label><![CDATA[λϢ]]></Label>
<MsgId>1234567890123456</MsgId>
</xml>

ToUserName ΢ź
FromUserName ͷʺţһOpenID
CreateTime Ϣʱ ͣ
MsgType location
Location_X λγ
Location_Y λþ
Scale ͼŴС
Label λϢ
MsgId Ϣid64λ


Ϣ

<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1351776360</CreateTime>
<MsgType><![CDATA[link]]></MsgType>
<Title><![CDATA[ƽ̨]]></Title>
<Description><![CDATA[ƽ̨]]></Description>
<Url><![CDATA[url]]></Url>
<MsgId>1234567890123456</MsgId>
</xml>

ToUserName շ΢ź
FromUserName ͷ΢źţΪͨûһOpenID
CreateTime Ϣʱ
MsgType Ϣͣlink
Title Ϣ
Description Ϣ
Url Ϣ
MsgId Ϣid64λ


¼

¼ֻ֧΢4.5汾ĿǰԶ˵ӿ¼͡עȡע¼͡๦ܼţڴ

<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[FromUser]]></FromUserName>
<CreateTime>123456789</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[EVENT]]></Event>
<EventKey><![CDATA[EVENTKEY]]></EventKey>
</xml>

ToUserName շ΢ź
FromUserName ͷ΢źţΪͨûһOpenID
CreateTime Ϣʱ
MsgType Ϣͣevent
Event ¼ͣsubscribe()unsubscribe(ȡ)CLICK(Զ˵¼)
EventKey ¼KEYֵԶ˵ӿKEYֵӦ
繫˾|վ|վŻ|վ|ƹ|ҳ|ͨվ|վ|ҵ΢|΢Ӫ|΢ŵ|΢Žվ|ϾӢ||Ƽ|վ|վ|վ|վ|վ|ָɽվ|IJվ|վ|վ|վ|վ|Ͳվ|վ|ٸվ|ɳվ|վ|ֶվ|ˮվ|ͤվ|վ
ҵչ ҵĻ ϵ ߶ վͼ ҳ
޺ƽ̨2018Ȩ 24Сʱ: ӭѯ
ַʡ..·ݴ6¥ϱ·107# ˾绰 QQ:
ȫ˷ֲϺڡĴɶ人ϳɳպϷʡ㶫ڡɽ̫ԭ
: 񶩹 ߿ͷ /Ӫɺ:
ƹؼ֣վ,վ,վ,΢ſ,΢Źںſ,΢ŹںŴӪ,ģվ,ҳ,繫˾

߿ͷ ҵѯ ѯ
ɨֱϵ