GET api/newsV2?tp={tp}&page={page}&pagesize={pagesize}
请求信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| tp | integer |
Default value is 0 |
|
| page | integer |
Default value is 1 |
|
| pagesize | integer |
Default value is 20 |
Body 请求体 参数
None.
响应消息
内容 描述
CxccApiResponseBaseOfCxccPageDataOfNews| Name | Description | Type | Additional information |
|---|---|---|---|
| data | CxccPageDataOfNews |
None. |
|
| code | integer |
None. |
|
| msg | string |
None. |
响应示例
application/json, text/json
Sample:
{
"data": {
"total": 1,
"page_total": 2,
"page_data": [
{
"id": "sample string 1",
"title": "sample string 2",
"cname": "sample string 3",
"rnum": 4,
"pubtime": "2025/12/26 05:31:13",
"pubtimeshow": "刚刚",
"imgurl": "sample string 6",
"hitsinm": 7,
"ishot": 0,
"isnew": 1
},
{
"id": "sample string 1",
"title": "sample string 2",
"cname": "sample string 3",
"rnum": 4,
"pubtime": "2025/12/26 05:31:13",
"pubtimeshow": "刚刚",
"imgurl": "sample string 6",
"hitsinm": 7,
"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.