GET api/guesslikenews?top={top}

猜你喜欢 推荐新闻

请求信息

URI 参数

NameDescriptionTypeAdditional information
top

integer

Default value is 20

Body 请求体 参数

None.

响应消息

内容 描述

CxccApiResponseBaseOfListOfNews
NameDescriptionTypeAdditional information
data

News 集合

None.

code

integer

None.

msg

string

None.

响应示例

application/json, text/json

Sample:
{
  "data": [
    {
      "id": "sample string 1",
      "title": "sample string 2",
      "cname": "sample string 3",
      "rnum": 4,
      "pubtime": "2024/10/19 08:44:34",
      "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:44:34",
      "pubtimeshow": "刚刚",
      "imgurl": "sample string 6",
      "hitsinm": 7,
      "ishot": 0,
      "isnew": 1
    }
  ],
  "code": 1,
  "msg": "sample string 2"
}

image/png

Sample:

Sample not available.

image/jpg

Sample:

Sample not available.