jackcard 内容推荐
<p><strong>基于jackcard算法获取文章推荐内容:</strong> </p>
<ul>
<li>jackcard 推荐</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/article_recomm</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">article_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>文章id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 1,
"msg": "success",
"data": [
{
"article_id": 91632,
"score": 0.05734767025089606
},
{
"article_id": 92919,
"score": 0.03233830845771144
},
{
"article_id": 90061,
"score": 0.03115264797507788
},
{
"article_id": 94082,
"score": 0.02768166089965398
},
{
"article_id": 96014,
"score": 0.027559055118110236
},
{
"article_id": 98189,
"score": 0.026490066225165563
},
{
"article_id": 96413,
"score": 0.025280898876404494
},
{
"article_id": 88479,
"score": 0.022508038585209004
},
{
"article_id": 93148,
"score": 0.02247191011235955
},
{
"article_id": 98925,
"score": 0.020905923344947737
},
{
"article_id": 89584,
"score": 0.019867549668874173
},
{
"article_id": 93925,
"score": 0.014925373134328358
},
{
"article_id": 90654,
"score": 0.013289036544850499
},
{
"article_id": 93690,
"score": 0.012618296529968454
},
{
"article_id": 92393,
"score": 0.0125
},
{
"article_id": 92190,
"score": 0.011583011583011582
}
]
}</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;">article_id</td>
<td style="text-align: left;">int</td>
<td>推荐的文章id</td>
</tr>
<tr>
<td style="text-align: left;">score</td>
<td style="text-align: left;">float</td>
<td>与输入文章的相似度</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>