Showing
1 changed file
with
204 additions
and
0 deletions
inferface-document/suggest/suggestHot.md
0 → 100644
1 | +热门意见管理接口服务定义 | ||
2 | +--------------------- | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | +## 获取热门意见列表接口 | ||
7 | + | ||
8 | +> 接口名: '/suggest/suggestHot/getSuggestHotList' | ||
9 | + | ||
10 | +### 入参 | ||
11 | + | ||
12 | +------------------------- | ||
13 | +|属性名称|类型|例子|说明| | ||
14 | +|--------|----|----|----| | ||
15 | +|startTime|String|2012-12-14|开始时间| | ||
16 | +|endTime|String|2015-12-30|结束时间| | ||
17 | +|status|String|0|状态(0:未编辑,1:已编辑,2:已发布)| | ||
18 | +|clientType|String|iPhone|来源| | ||
19 | +|hasImage|String|0|是否有图片(0:无图,1:有图)| | ||
20 | +|isReliable|String|0|是否靠谱(0:不靠谱,1:靠谱)| | ||
21 | +--------------------- | ||
22 | + | ||
23 | +### 返回 | ||
24 | + | ||
25 | +``` json | ||
26 | +{ | ||
27 | + "code":200, | ||
28 | + "message":"操作成功", | ||
29 | + "data": { | ||
30 | + "list": [ | ||
31 | + { | ||
32 | + "id": "", id | ||
33 | + "suggestType": "", 意见来源(1:网站,2:手机) | ||
34 | + "createTime": "", 创建时间 | ||
35 | + "status": "", 状态(0:未编辑,1:已编辑,2:已发布) | ||
36 | + "clientType": "", 客户端类型 | ||
37 | + "updateTime": "", 修改时间 | ||
38 | + "coverImage": "", 图片 | ||
39 | + "hasImage": "", 是否有图片(0:无,1:有) | ||
40 | + "orderBy": "", 排序 | ||
41 | + "reliable": "", 靠谱数量 | ||
42 | + "unreliable": "", 不靠谱数量 | ||
43 | + "suggestId": "", APP意见ID | ||
44 | + "content": "", 内容 | ||
45 | + "replyContent": "", 回复内容 | ||
46 | + "isReliable": "", 是否靠谱(0:不靠谱,1:靠谱) | ||
47 | + "imageUrl": "", 图片绝对路径 | ||
48 | + "imageOriginUrl": "", 图片原始路径 | ||
49 | + "filterContent": "" 过滤后的内容 | ||
50 | + } | ||
51 | + ], | ||
52 | + "uneditCount": 152, 未编辑数量 | ||
53 | + "editedCount": 326, 已编辑数量 | ||
54 | + "publishCount": 326, 已发布数量 | ||
55 | + "page": 0, | ||
56 | + "size": 50, | ||
57 | + "total": 1000, | ||
58 | + "totalPage":20 | ||
59 | + } | ||
60 | +} | ||
61 | + | ||
62 | +``` | ||
63 | + | ||
64 | + | ||
65 | +## 新增热门意见接口 | ||
66 | + | ||
67 | +> 接口名: '/suggest/suggestHot/addSuggestHot' | ||
68 | + | ||
69 | +### 入参 | ||
70 | + | ||
71 | +------------------------- | ||
72 | +|属性名称|类型|例子|说明| | ||
73 | +|--------|----|----|----| | ||
74 | +|id|String|123|id| | ||
75 | +|suggestType|int|1|意见来源(1:网站,2:手机)| | ||
76 | +|createTime|String|2012-12-12|创建时间| | ||
77 | +|status|int|0|状态(0:未编辑,1:已编辑,2:已发布)| | ||
78 | +|clientType|String|iPhone|客户端类型| | ||
79 | +|updateTime|String|2012-10-02|修改时间| | ||
80 | +|coverImage|String|-|图片| | ||
81 | +|hasImage|int|-|是否有图片(0:无,1:有)| | ||
82 | +|orderBy|int|123|排序| | ||
83 | +|reliable|int|11|靠谱数量| | ||
84 | +|unreliable|int|123|不靠谱数量| | ||
85 | +|suggestId|int|-|回复内容| | ||
86 | +|content|String|-|内容| | ||
87 | +|replyContent|String|-|回复内容| | ||
88 | +--------------------- | ||
89 | + | ||
90 | +### 返回 | ||
91 | + | ||
92 | +``` json | ||
93 | +{ | ||
94 | + "code":200, | ||
95 | + "message":"操作成功" | ||
96 | +} | ||
97 | + | ||
98 | +``` | ||
99 | + | ||
100 | + | ||
101 | +## 修改热门意见接口 | ||
102 | + | ||
103 | +> 接口名: '/suggest/suggestHot/updateSuggestHot' | ||
104 | + | ||
105 | +### 入参 | ||
106 | + | ||
107 | +------------------------- | ||
108 | +|属性名称|类型|例子|说明| | ||
109 | +|--------|----|----|----| | ||
110 | +|id|String|123|id| | ||
111 | +|suggestType|int|1|意见来源(1:网站,2:手机)| | ||
112 | +|createTime|String|2012-12-12|创建时间| | ||
113 | +|status|int|0|状态(0:未编辑,1:已编辑,2:已发布)| | ||
114 | +|clientType|String|iPhone|客户端类型| | ||
115 | +|updateTime|String|2012-10-02|修改时间| | ||
116 | +|coverImage|String|-|图片| | ||
117 | +|hasImage|int|-|是否有图片(0:无,1:有)| | ||
118 | +|orderBy|int|123|排序| | ||
119 | +|reliable|int|11|靠谱数量| | ||
120 | +|unreliable|int|123|不靠谱数量| | ||
121 | +|suggestId|int|-|回复内容| | ||
122 | +|content|String|-|内容| | ||
123 | +|replyContent|String|-|回复内容| | ||
124 | +--------------------- | ||
125 | + | ||
126 | +### 返回 | ||
127 | + | ||
128 | +``` json | ||
129 | +{ | ||
130 | + "code":200, | ||
131 | + "message":"操作成功" | ||
132 | +} | ||
133 | + | ||
134 | +``` | ||
135 | + | ||
136 | + | ||
137 | +## 删除/取消热门意见接口 | ||
138 | + | ||
139 | +> 接口名: '/suggest/suggestHot/deleteSuggestHot' | ||
140 | + | ||
141 | +### 入参 | ||
142 | + | ||
143 | +------------------------- | ||
144 | +|属性名称|类型|例子|说明| | ||
145 | +|--------|----|----|----| | ||
146 | +|id|String|123|id| | ||
147 | +--------------------- | ||
148 | + | ||
149 | +### 返回 | ||
150 | + | ||
151 | +``` json | ||
152 | +{ | ||
153 | + "code":200, | ||
154 | + "message":"操作成功" | ||
155 | + | ||
156 | +} | ||
157 | + | ||
158 | +``` | ||
159 | + | ||
160 | + | ||
161 | +## 发布/撤回热门接口 | ||
162 | + | ||
163 | +> 接口名: '/suggest/suggestHot/publishSuggestHot' | ||
164 | + | ||
165 | +### 入参 | ||
166 | + | ||
167 | +------------------------- | ||
168 | +|属性名称|类型|例子|说明| | ||
169 | +|--------|----|----|----| | ||
170 | +|id|String|123|id| | ||
171 | +|status|int|0|状态(0:未编辑,1:已编辑,2:已发布)| | ||
172 | +--------------------- | ||
173 | + | ||
174 | +### 返回 | ||
175 | + | ||
176 | +``` json | ||
177 | +{ | ||
178 | + "code":200, | ||
179 | + "message":"操作成功" | ||
180 | +} | ||
181 | + | ||
182 | +``` | ||
183 | + | ||
184 | +## 批量发布热门意见接口 | ||
185 | + | ||
186 | +> 接口名: '/suggest/suggestHot/batchPublishSuggestHot' | ||
187 | + | ||
188 | +### 入参 | ||
189 | + | ||
190 | +------------------------- | ||
191 | +|属性名称|类型|例子|说明| | ||
192 | +|--------|----|----|----| | ||
193 | +|id|String|123,12,1|id| | ||
194 | +--------------------- | ||
195 | + | ||
196 | +### 返回 | ||
197 | + | ||
198 | +``` json | ||
199 | +{ | ||
200 | + "code":200, | ||
201 | + "message":"操作成功" | ||
202 | +} | ||
203 | + | ||
204 | +``` |
-
Please register or login to post a comment