GET news/newsdetail?newsid={newsid}&openid={openid}&uid={uid}
新闻详情
请求信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| newsid | integer |
Required |
|
| openid | string |
Default value is |
|
| uid | integer |
Default value is 0 |
Body 请求体 参数
None.
响应消息
内容 描述
CxccApiResponseBaseOfNewDatil| Name | Description | Type | Additional 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": "2025/12/26 05:34:04",
"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.