GET news/newsdetail?newsid={newsid}&openid={openid}&uid={uid}

新闻详情

请求信息

URI 参数

NameDescriptionTypeAdditional information
newsid

integer

Required

openid

string

Default value is

uid

integer

Default value is 0

Body 请求体 参数

None.

响应消息

内容 描述

CxccApiResponseBaseOfNewDatil
NameDescriptionTypeAdditional information
data

NewDatil

None.

code

integer

None.

msg

string

None.

响应示例

application/json, text/json

Sample:
{
  "data": {
    "newsdatil": {
      "id": 1,
      "title": "sample string 2",
      "cont": "sample string 3",
      "addtime": "2024/10/19 08:49:58",
      "addtimedesc": "刚刚",
      "hits": 5,
      "zan": 6
    },
    "agent": {
      "id": 1,
      "rname": "sample string 2",
      "comname": "sample string 3",
      "shortname": "sample string 4",
      "areaname1": "sample string 5",
      "areaname2": "sample string 6",
      "areaname3": "sample string 7",
      "userlevel": "sample string 8",
      "tel": "sample string 9",
      "img": "sample string 10"
    },
    "hasfloorreply": 1,
    "floorreply": {
      "id": 1,
      "cont": "sample string 2",
      "zancnt": 3
    }
  },
  "code": 1,
  "msg": "sample string 2"
}

image/png

Sample:

Sample not available.

image/jpg

Sample:

Sample not available.