获取公众号首页文章
<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>{
&quot;appid&quot;:&quot;gh_ffe430e2bbdc&quot;,
&quot;decode&quot;: &quot;1&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;gh_id&quot;: &quot;gh_ffe430e2bbdc&quot;,
&quot;gh_name&quot;: &quot;微软科技&quot;,
&quot;number&quot;: &quot;899&quot;,
&quot;gh_ipfrom&quot;: &quot;IP属地:北京&quot;,
&quot;list&quot;: [
{
&quot;id&quot;: &quot;1&quot;,
&quot;published_time&quot;: &quot;2023-03-24 00:01:14&quot;,
&quot;title&quot;: &quot;打开流程自动化新大门!Power Automate RPA 托管方案详解&quot;,
&quot;url&quot;: &quot;http://mp.weixin.qq.com/s?__biz=MzA3MTA0ODYyOA==&amp;mid=2651401711&amp;idx=1&amp;sn=9afe8d8b4b90ff54cd5f9c93db394940&amp;chksm=84ce0134b3b98822f03736f6fc9936f002bbd317b56d1220c9ceffad54e0807775d4240cb6ec&amp;scene=126&amp;sessionid=1679627641#rd&quot;,
&quot;head_pic&quot;: &quot;https://mmbiz.qpic.cn/mmbiz_jpg/a1HupTryX2y2OPQATEyKoNEsoUuEMp6hbfDibXdM5K44YwxekTsncyObrOCsaxX4rl4VquDXcmhFgCSE53rgXVg/640?wxtype=jpeg&amp;wxfrom=0&quot;
},
{
&quot;id&quot;: &quot;2&quot;,
&quot;published_time&quot;: &quot;2023-03-23 09:55:12&quot;,
&quot;title&quot;: &quot;GDC微软游戏案例发布:网易《永劫无间》&quot;,
&quot;url&quot;: &quot;http://mp.weixin.qq.com/s?__biz=MzA3MTA0ODYyOA==&amp;mid=2651401701&amp;idx=1&amp;sn=eacb5eb558ba21968a6e7ab0067b2320&amp;chksm=84ce013eb3b98828be305c73cfc83f22d38d8aa0b563b2d5beddf559c11f895d48f5d7ee6dc0&amp;scene=126&amp;sessionid=1679627641#rd&quot;,
&quot;head_pic&quot;: &quot;https://mmbiz.qpic.cn/mmbiz_jpg/a1HupTryX2y6ibHwic1GYj7Pfau3M18CBQFVA3sIJdMx2yCwNiaTozcx7HrTAwMfVdaPibSWhJWU2gniayA3oAWKdsg/640?wxtype=jpeg&amp;wxfrom=0&quot;
},
{
&quot;id&quot;: &quot;3&quot;,
&quot;published_time&quot;: &quot;2023-03-22 00:00:44&quot;,
&quot;title&quot;: &quot;一张照片定制自己的3D数字化身?&quot;,
&quot;url&quot;: &quot;http://mp.weixin.qq.com/s?__biz=MzA3MTA0ODYyOA==&amp;mid=2651401672&amp;idx=1&amp;sn=51a93cba4a38ad2d43cd13f8ee69b8bd&amp;chksm=84ce0113b3b98805a22e5975f2251fa5546585084d9e904d8c4a13fdc608c995f64401eb5e43&amp;scene=126&amp;sessionid=1679627641#rd&quot;,
&quot;head_pic&quot;: &quot;https://mmbiz.qpic.cn/mmbiz_jpg/a1HupTryX2w97H3Oniceh6uuAFJxv7bMFdpfhlxOmv2Ajpv3pqibj3EQs9ld26YJSO62avibOs8q50RYrzjrD6vug/640?wxtype=jpeg&amp;wxfrom=0&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>