wxhook

微信


获取公众号首页文章

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取公众号首页文章,一次获取10文章</li> </ul> <h5>请求URL</h5> <ul> <li><a href="http://localhost:30001/GetGh_Doc">http://localhost:30001/GetGh_Doc</a></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">appid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>公众号appid</td> </tr> <tr> <td style="text-align: left;">decode</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>是否解码 1=解码 0=不解码(接收原始pb)</td> </tr> </tbody> </table> <h5>发送示例</h5> <pre><code>{     &amp;quot;appid&amp;quot;:&amp;quot;gh_ffe430e2bbdc&amp;quot;,     &amp;quot;decode&amp;quot;: &amp;quot;1&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>{     &amp;quot;gh_id&amp;quot;: &amp;quot;gh_ffe430e2bbdc&amp;quot;,     &amp;quot;gh_name&amp;quot;: &amp;quot;微软科技&amp;quot;,     &amp;quot;number&amp;quot;: &amp;quot;899&amp;quot;,     &amp;quot;gh_ipfrom&amp;quot;: &amp;quot;IP属地:北京&amp;quot;,     &amp;quot;list&amp;quot;: [         {             &amp;quot;id&amp;quot;: &amp;quot;1&amp;quot;,             &amp;quot;published_time&amp;quot;: &amp;quot;2023-03-24 00:01:14&amp;quot;,             &amp;quot;title&amp;quot;: &amp;quot;打开流程自动化新大门!Power Automate RPA 托管方案详解&amp;quot;,             &amp;quot;url&amp;quot;: &amp;quot;http://mp.weixin.qq.com/s?__biz=MzA3MTA0ODYyOA==&amp;amp;mid=2651401711&amp;amp;idx=1&amp;amp;sn=9afe8d8b4b90ff54cd5f9c93db394940&amp;amp;chksm=84ce0134b3b98822f03736f6fc9936f002bbd317b56d1220c9ceffad54e0807775d4240cb6ec&amp;amp;scene=126&amp;amp;sessionid=1679627641#rd&amp;quot;,             &amp;quot;head_pic&amp;quot;: &amp;quot;https://mmbiz.qpic.cn/mmbiz_jpg/a1HupTryX2y2OPQATEyKoNEsoUuEMp6hbfDibXdM5K44YwxekTsncyObrOCsaxX4rl4VquDXcmhFgCSE53rgXVg/640?wxtype=jpeg&amp;amp;wxfrom=0&amp;quot;         },         {             &amp;quot;id&amp;quot;: &amp;quot;2&amp;quot;,             &amp;quot;published_time&amp;quot;: &amp;quot;2023-03-23 09:55:12&amp;quot;,             &amp;quot;title&amp;quot;: &amp;quot;GDC微软游戏案例发布:网易《永劫无间》&amp;quot;,             &amp;quot;url&amp;quot;: &amp;quot;http://mp.weixin.qq.com/s?__biz=MzA3MTA0ODYyOA==&amp;amp;mid=2651401701&amp;amp;idx=1&amp;amp;sn=eacb5eb558ba21968a6e7ab0067b2320&amp;amp;chksm=84ce013eb3b98828be305c73cfc83f22d38d8aa0b563b2d5beddf559c11f895d48f5d7ee6dc0&amp;amp;scene=126&amp;amp;sessionid=1679627641#rd&amp;quot;,             &amp;quot;head_pic&amp;quot;: &amp;quot;https://mmbiz.qpic.cn/mmbiz_jpg/a1HupTryX2y6ibHwic1GYj7Pfau3M18CBQFVA3sIJdMx2yCwNiaTozcx7HrTAwMfVdaPibSWhJWU2gniayA3oAWKdsg/640?wxtype=jpeg&amp;amp;wxfrom=0&amp;quot;         },         {             &amp;quot;id&amp;quot;: &amp;quot;3&amp;quot;,             &amp;quot;published_time&amp;quot;: &amp;quot;2023-03-22 00:00:44&amp;quot;,             &amp;quot;title&amp;quot;: &amp;quot;一张照片定制自己的3D数字化身?&amp;quot;,             &amp;quot;url&amp;quot;: &amp;quot;http://mp.weixin.qq.com/s?__biz=MzA3MTA0ODYyOA==&amp;amp;mid=2651401672&amp;amp;idx=1&amp;amp;sn=51a93cba4a38ad2d43cd13f8ee69b8bd&amp;amp;chksm=84ce0113b3b98805a22e5975f2251fa5546585084d9e904d8c4a13fdc608c995f64401eb5e43&amp;amp;scene=126&amp;amp;sessionid=1679627641#rd&amp;quot;,             &amp;quot;head_pic&amp;quot;: &amp;quot;https://mmbiz.qpic.cn/mmbiz_jpg/a1HupTryX2w97H3Oniceh6uuAFJxv7bMFdpfhlxOmv2Ajpv3pqibj3EQs9ld26YJSO62avibOs8q50RYrzjrD6vug/640?wxtype=jpeg&amp;amp;wxfrom=0&amp;quot;         }, .........略     ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>文章序号</td> </tr> <tr> <td style="text-align: left;">published_time</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>文章发表时间</td> </tr> <tr> <td style="text-align: left;">title</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>文章标题</td> </tr> <tr> <td style="text-align: left;">url</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>文章url</td> </tr> <tr> <td style="text-align: left;">head_pic</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>文章封面图片</td> </tr> </tbody> </table>

页面列表

ITEM_HTML