获取相似文章
开发中GET
/article/get-similar-articles根据文章的label获取相似文章。
请求参数
Query 参数
labels
string
标签列表
article_id
integer
要排除掉的文章id
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result_code
enum<integer>
状态码
0-成功,1-失败
枚举值:
01
result_msg
string
状态信息
result
array [object]
返回响应
文章列表
示例
{
"result_code": 0,
"result_msg": "amet",
"result": [
{
"article_id": 99,
"article_title": "龙值深并",
"article_labels": [
"incididunt fugiat do ut",
"aute in ipsum ut Lorem",
"deserunt adipisicing dolore",
"nostrud"
],
"article_introduce": "ad",
"article_uploaddate": "1984-01-22",
"author_id": 64,
"author_name": "发起信且联验"
},
{
"article_id": 56,
"article_title": "研所电按",
"article_labels": [
"magna sint nisi"
],
"article_introduce": "Lorem",
"article_uploaddate": "1996-04-12",
"author_id": 70,
"author_name": "产阶八全"
},
{
"article_id": 39,
"article_title": "回压算县矿",
"article_labels": [
"in labore enim Lorem velit",
"nulla nisi",
"elit enim officia",
"reprehenderit irure ea culpa fugiat",
"pariatur qui incididunt eu ad"
],
"article_introduce": "dolor ullamco",
"article_uploaddate": "1978-10-31",
"author_id": 68,
"author_name": "已委知物次位"
}
]
}
最后修改时间: 1 年前