【公众号开发】开启微信公众号开发者模式接收消息

收到微信消息:

<xml><ToUserName><![CDATA[gh_5955f32c43bc]]></ToUserName>
<FromUserName><![CDATA[oeQDZt0n4VCZ70wykBlGpANiXqdM]]></FromUserName>
<CreateTime>1488505118</CreateTime>
<MsgType><![CDATA[text]]></MsgType>
<Content><![CDATA[优惠券]]></Content>
<MsgId>6393080802159278021</MsgId>
</xml>

回复消息内容:

<xml>
                                                    <ToUserName><![CDATA[oeQDZt0n4VCZ70wykBlGpANiXqdM]]></ToUserName>
                                                    <FromUserName><![CDATA[gh_5955f32c43bc]]></FromUserName>
                                                    <CreateTime>1488505119</CreateTime>
                                                    <MsgType><![CDATA[text]]></MsgType>
                                                    <Content><![CDATA[<a href='http://h5.ktgj.com/h5/Wcoupons'>点我查看</a>我的优惠券]]></Content>
                                                    </xml>
原文地址:https://www.cnblogs.com/jhli/p/6494535.html