wxcode3.6-new

***


获取公众号信息

<h5>简要描述</h5> <ul> <li>ghid获取biz</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://{{host}}:{{port}}/api</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>请求参数示例</h5> <pre><code>{ "mode": 13, "data": { "ghid": "gh_68b976f584b5", "wxpid": 10832 } } </code></pre> <h5>json字段说明</h5> <table> <thead> <tr> <th style="text-align: left;">字段名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">ghid</td> <td style="text-align: left;">是</td> <td>string</td> <td>公众号原始id,一般以gh_开头</td> </tr> <tr> <td style="text-align: left;">wxpid</td> <td style="text-align: left;">是</td> <td>number</td> <td>微信进程id</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "status": 200, "result": { "Appid": "wx2094ab6ecab995d2", "CanReceiveSpeexVoice": "1", "InteractiveMode": "2", "IsAgreeProtocol": "1", "IsHideInputToolbarInMsg": "0", "IsShowHeadImgInMsg": "1", "IsTrademarkProtection": 1, "RoleId": "1", "ScanQRCodeType": 1, "ServiceType": 0, "TrademarkName": "新华网 WWW.NEWS.CN EWS WWW.XINHUANET.COM N", "TrademarkUrl": "http:\/\/mp.weixin.qq.com\/mp\/getverifyinfo?__biz=MzA4MjQxNjQzMA==&amp;type=trademark#wechat_webview_type=1&amp;wechat_redirect", "headImg": "http:\/\/mmbiz.qpic.cn\/mmbiz_png\/O9F3NTo58ypP1f90h6PH2fsRl4BaGIABQdrPWvWEyRNv7mlD2Bb1FvqR4UWQvCSZI3RNibStr5StBAJXMwtDbaQ\/0?wx_fmt=png", "Location": { "latitude": "39.90011", "longitude": "116.35992", "position": "中国北京市西城区宣武门西大街129号" }, "MMBizMenu": { "button_list": [ { "id": 692983120, "key": "rselfmenu_0", "name": "宝藏青年", "native_url": "", "sub_button_list": [ { "id": 692983120, "key": "rselfmenu_0_0", "name": "宝藏青年工作室", "native_url": "", "sub_button_list": [], "type": 2, "value": "https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?action=getalbum&amp;album_id=1391561328074309633&amp;__biz=MzA4MjQxNjQzMA==#wechat_redirect" }, { "id": 692983120, "key": "rselfmenu_0_1", "name": "新编辑部故事", "native_url": "", "sub_button_list": [], "type": 2, "value": "https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?action=getalbum&amp;album_id=1355980907739660288&amp;__biz=MzA4MjQxNjQzMA==#wechat_redirect" }, { "id": 692983120, "key": "rselfmenu_0_2", "name": "难忘瞬间", "native_url": "", "sub_button_list": [], "type": 2, "value": "https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=MzA4MjQxNjQzMA==&amp;action=getalbum&amp;album_id=2016354596876517381#wechat_redirect" }, { "id": 692983120, "key": "rselfmenu_0_3", "name": "一字标题", "native_url": "", "sub_button_list": [], "type": 2, "value": "http:\/\/m.xinhuanet.com\/zhuanti\/oneword\/index.htm" }, { "id": 692983120, "key": "rselfmenu_0_4", "name": "30句系列", "native_url": "", "sub_button_list": [], "type": 2, "value": "https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=MzA4MjQxNjQzMA==&amp;action=getalbum&amp;album_id=2387567642644873217#wechat_redirect" } ], "type": 0, "value": "" }, { "id": 692983120, "key": "rselfmenu_1", "name": "大学系列", "native_url": "", "sub_button_list": [], "type": 2, "value": "https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=MzA4MjQxNjQzMA==&amp;action=getalbum&amp;album_id=1813138440104771587#wechat_redirect" }, { "id": 692983120, "key": "rselfmenu_2", "name": "平凡英雄", "native_url": "", "sub_button_list": [], "type": 2, "value": "https:\/\/mp.weixin.qq.com\/mp\/appmsgalbum?__biz=MzA4MjQxNjQzMA==&amp;action=getalbum&amp;album_id=1801794268445868033#wechat_redirect" } ], "interactive_mode": 2, "uin": 3082416430, "update_time": 1652846467, "version": 692983120 }, "PayShowInfo": { "guarantee_icon_list": [], "scope_of_business": "" }, "RegisterSource": { "AboutBizUrl": "http:\/\/mp.weixin.qq.com\/mp\/aboutbiz?__biz=MzA4MjQxNjQzMA==#wechat_redirect", "IntroUrl": "http:\/\/mp.weixin.qq.com\/mp\/getverifyinfo?__biz=MzA4MjQxNjQzMA==&amp;type=reg_info#wechat_redirect", "RegisterBody": "新华网" }, "VerifySource": { "Description": "新华网", "IntroUrl": "http:\/\/mp.weixin.qq.com\/mp\/getverifyinfo?__biz=MzA4MjQxNjQzMA==#wechat_webview_type=1&amp;wechat_redirect", "Type": 0, "VerifyBizType": 2, "VerifyCustomerType": 2 }, "WxaAppInfo": { "RoundedSquareIconUrl": "", "SensitiveTags": [], "TcbCdnDomain": [], "Template": [] } } } </code></pre>

页面列表

ITEM_HTML