标签:blog http io os ar java sp 文件 数据
先上效果图:
作者博客:http://blog.csdn.net/stationxp 作者微博:http://weibo.com/liuhailong2008 转载请取得作者同意
200 OK Server: nginx/1.4.4 ConDate: Wed, 07 Content-Type { "access_token": "35r3_cicy-CtwRrK0RoPmt13OIX_WXSxJI1Yd_s5wPghVJ7RU2V8STmH7fcAmD6S", "expires_in": 7200 }
200 OK Content-Length: 118 Date: Wed, { "type": "image", "media_id": "DPlBG0Txb3HYzwI4OfJCj9G9ozURJOTVd2W4qAMt5LNMGSc5vy07b2qAHvj_-wJx", "created_at": 1399478362 }
{ "button":[ {"type":"click", "name":"关于我","key":"BTN_ABOUT_USER" }, {"name":"我的伙伴", "sub_button":[ {"type":"view","name":"胡磊磊", "url":"http://chaoshi.cgdmc.com/wx/person/hulei.php" }, {"type":"view","name":"魏超超", "url":"http://chaoshi.cgdmc.com/wx/person/weichao.php" }, {"type":"view","name":"雷达达","url":"http://chaoshi.cgdmc.com/wx/person/leida.php"} ] }, {"type":"click","name":"关于作者", "key":"BTN_ABOUT_ME"} ] }
200 OK Content-Length: 27 Date: Wed, 07 Content-Typ { "errcode": 0, "errmsg": "ok" }
200 OK chaoshi.cgdmc.com: nginx/1.4.4 Con Date: Wed, 07 Content-Typ { "menu": { "button": [ { "type": "click", "name": "关于我", "key": "BTN_ABOUT_USER", "sub_button": [ ] }, { "name": "我的伙伴", "sub_button": [ { "type": "view", "name": "胡磊磊", "url": "http://chaoshi.cgdmc.com/wx/person/hulei.php", "sub_button": [ ] }, { "type": "view", "name": "魏超超", "url": "http://chaoshi.cgdmc.com/wx/person/weichao.php", "sub_button": [ ] }, { "type": "view", "name": "雷达达", "url": "http://chaoshi.cgdmc.com/wx/person/leida.php", "sub_button": [ ] } ] }, { "type": "click", "name": "关于作者", "key": "BTN_ABOUT_ME", "sub_button": [ ] } ] } }5、自定义菜单删除的话,只能全删
if( 'BTN_ABOUT_ME'.equals(eventKey) ){ response.setMsgType("text"); response.setContent("我是刘海龙,围脖地址:\nweibo.com/liuhailong2008\n亲,加关注呦!"); }
200 OK Server: nginx/1.4.4 Con Date: Wed, 07 Content-Typ { "subscribe": 1, "openid": "oai_xxxe7-0", "nickname": "刘海龙", "sex": 1, "language": "zh_CN", "city": "保定", "province": "河北", "country": "中国", "headimgurl": "http://wx.qlogo.cn/mmopen/ezjZug0fpibxah7nkiaYLMgg7RnS0NPHFlt7Yg6BbPTTmq1B1rfI4DCIPofibTcYHnyqMAcr2cyp76A79MCoKicpbQ/0", "subscribe_time": 1399480903 }
1 oai_EjvxxxWWwc4gSe7-0 刘海龙 1 zh_CN 保定 河北 中国 http://wx.qlogo.cn/mmopen/ezjZug0fpibxah7nkiaYLMgg7RnS0NPHFlt7Yg6BbPTTmq1B1rfI4DCIPofibTcYHnyqMAcr2cyp76A79MCoKicpbQ/0 1399480903 oai_Ejvay12_FjT0fWWwc4gSe7-0 gh_3d3203deb07d 1399482736
标签:blog http io os ar java sp 文件 数据
原文地址:http://blog.csdn.net/stationxp/article/details/40515557