|
|
评论管理接口服务定义
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
|
|
## 评论列表查询
|
|
|
|
|
|
> 接口名: '/guang/comment/getList'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|condNum|int|1|查询方式,如1表示回复内容|
|
|
|
|condContent|String|V2hhdCBmdWNrIG|查询内容|
|
|
|
|status|int|1|审核状态,0待审核,1审核通过,-1表示屏蔽|
|
|
|
|page|int|2|页码|
|
|
|
|size|int|20|每页条数|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"操作成功",
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"id": "8168248", //评论id
|
|
|
"articleId": "DREAMER",//资讯id
|
|
|
"content": "" //评论内容
|
|
|
"articleTitle": "" //资讯标题
|
|
|
"editorName": "" //作者姓名
|
|
|
"status": "" //状态
|
|
|
"operationTime": "" //操作时间
|
|
|
"createTime": "" //创建时间
|
|
|
"auditStatus": "" //审核状态
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 评论审核接口
|
|
|
|
|
|
> 接口名: '/guang/comment/audit'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|String|201,202|评论id,批量操作时id以逗号分隔|
|
|
|
|status|int|1|审核状态,0待审核,1审核通过,-1表示屏蔽|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"操作成功!"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 获取筛选条件列表接口
|
|
|
|
|
|
> 接口名: '/guang/comment/getItems'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
无
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"操作成功",
|
|
|
"data": [
|
|
|
{
|
|
|
"id": "1",
|
|
|
"text":"回复内容"
|
|
|
},
|
|
|
{
|
|
|
"id": "2",
|
|
|
"text":"用户名"
|
|
|
}
|
|
|
...
|
|
|
]
|
|
|
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|