GET api/usernewscollections?page={page}&pagesize={pagesize}
获取用户的新闻收藏
请求信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| page | integer |
Default value is 1 |
|
| pagesize | integer |
Default value is 20 |
Body 请求体 参数
None.
响应消息
内容 描述
CxccApiResponseBaseOfCxccPageDataOfNewsCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| data | CxccPageDataOfNewsCollection |
None. |
|
| code | integer |
None. |
|
| msg | string |
None. |
响应示例
application/json, text/json
Sample:
{
"data": {
"total": 1,
"page_total": 2,
"page_data": [
{
"cid": "sample string 1",
"showTime": "1分钟前",
"imgs": [
"sample string 1",
"sample string 2"
],
"id": "sample string 2",
"title": "sample string 3",
"cname": "sample string 4",
"rnum": 5,
"pubtime": "2025/12/26 05:31:14",
"pubtimeshow": "刚刚",
"imgurl": "sample string 7",
"hitsinm": 8,
"ishot": 0,
"isnew": 1
},
{
"cid": "sample string 1",
"showTime": "1分钟前",
"imgs": [
"sample string 1",
"sample string 2"
],
"id": "sample string 2",
"title": "sample string 3",
"cname": "sample string 4",
"rnum": 5,
"pubtime": "2025/12/26 05:31:14",
"pubtimeshow": "刚刚",
"imgurl": "sample string 7",
"hitsinm": 8,
"ishot": 0,
"isnew": 1
}
],
"page_index": 3
},
"code": 1,
"msg": "sample string 2"
}
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.