获取某个用户发布的文章列表(详细信息)
开发中GET
/user/get-user-articles-details在用户的个人中心获取某个用户发布的文章列表。
请求参数
Query 参数
user_id
number
要获取的用户id
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result_code
enum<integer>
状态码
0-成功,1-失败
枚举值:
01
result_msg
string
状态信息
result
array [object {6}]
返回响应
文章列表(简要)
author_name
string
作者名称
author_major
string
作者专业
author_university
string
作者高校
author_headphoto
string
作者头像图片URL
author_signature
string
作者签名
author_article_num
integer
作者发布文章总数
示例
{
"result_code": 0,
"result_msg": "sit esse",
"result": [
{
"article_id": 82,
"article_title": "规水维由",
"article_labels": [
"ut mollit sit",
"exercitation irure occaecat"
],
"article_introduce": "ad",
"article_uploaddate": "1970-11-27",
"author_id": 40,
"author_name": "长按难动证工"
},
{
"article_id": 36,
"article_title": "复属专系相从",
"article_labels": [
"eiusmod pariatur ipsum",
"occaecat tempor",
"enim sunt qui amet",
"elit",
"esse dolore in non"
],
"article_introduce": "sed Excepteur proident tempor",
"article_uploaddate": "2020-11-13",
"author_id": 79,
"author_name": "求保选广整太如"
},
{
"article_id": 93,
"article_title": "以该石",
"article_labels": [
"labore dolore",
"mollit magna consequat"
],
"article_introduce": "elit voluptate consectetur eu",
"article_uploaddate": "2022-11-26",
"author_id": 88,
"author_name": "正毛图都之力九"
},
{
"article_id": 49,
"article_title": "七速之选",
"article_labels": [
"labore magna proident",
"sunt ex",
"sit deserunt mollit culpa commodo",
"adipisicing laborum",
"dolore est Lorem"
],
"article_introduce": "nulla sed irure",
"article_uploaddate": "2021-12-22",
"author_id": 82,
"author_name": "些己历育"
},
{
"article_id": 12,
"article_title": "把美东西适东",
"article_labels": [
"elit dolor",
"magna qui quis",
"fugiat dolor",
"eu et occaecat ea do"
],
"article_introduce": "Ut mollit",
"article_uploaddate": "2002-06-18",
"author_id": 58,
"author_name": "深是表以造"
}
]
}
最后修改时间: 1 年前