小程序详情编辑接口
<p>新增首页前五字段</p>
<pre><code> "switch_info": {
"home_top_five": 1,
"home_top_five_article_type": [
{
"article_type": "文章",
"key": 1,
"checkout": true
},
{
"article_type": "视频",
"key": 2,
"checkout": true
},
{
"article_type": "音乐图文",
"key": 3,
"checkout": true
},
{
"article_type": "祝福系列",
"key": 4,
"checkout": true
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">home_top_five</td>
<td style="text-align: left;">int</td>
<td>首页前五的文章设置(0:无、1:随机、2:置顶+推荐、3:置顶、4:推荐)</td>
</tr>
<tr>
<td style="text-align: left;">home_top_five_article_type</td>
<td style="text-align: left;">object</td>
<td>文章类型</td>
</tr>
</tbody>
</table>