GET api/recommandnews?newsid={newsid}&page={page}&pagesize={pagesize}

获取指定新闻的推荐新闻

请求信息

URI 参数

NameDescriptionTypeAdditional information
newsid

integer

Required

page

integer

Default value is 1

pagesize

integer

Default value is 20

Body 请求体 参数

None.

响应消息

内容 描述

CxccApiResponseBaseOfCxccPageDataOfNews
NameDescriptionTypeAdditional 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": "2024/10/19 08:51:57",
        "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": "2024/10/19 08:51:57",
        "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.