Showing
1 changed file
with
219 additions
and
0 deletions
inferface-document/suggest/suggest.md
0 → 100644
1 | +APP意见反馈管理接口服务定义 | ||
2 | +--------------------- | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | +## 获取APP意见反馈列表接口 | ||
7 | + | ||
8 | +> 接口名: '/suggest/suggest/getSuggestList' | ||
9 | + | ||
10 | +### 入参 | ||
11 | + | ||
12 | +------------------------- | ||
13 | +|属性名称|类型|例子|说明| | ||
14 | +|--------|----|----|----| | ||
15 | +|uid|String|123|uid| | ||
16 | +|startTime|String|2012-12-14|开始时间| | ||
17 | +|endTime|String|2015-12-30|结束时间| | ||
18 | +|isHot|String|0|是否热门(0:不热门,1:热门)| | ||
19 | +|status|String|0|状态(0:未回复,1:已回复,2:已发送)| | ||
20 | +|clientType|String|iPhone|来源| | ||
21 | +|appVersion|String|-|版本号| | ||
22 | +--------------------- | ||
23 | + | ||
24 | +### 返回 | ||
25 | + | ||
26 | +``` json | ||
27 | +{ | ||
28 | + "code":200, | ||
29 | + "message":"操作成功", | ||
30 | + "data": { | ||
31 | + "list": [ | ||
32 | + { | ||
33 | + "id": "", id | ||
34 | + "uid": "", uid | ||
35 | + "suggestType": "", 意见来源(1:网站,2:手机) | ||
36 | + "createTime": "", 创建时间 | ||
37 | + "status": "", 状态(0:未回复,1:已回复,2:已发送) | ||
38 | + "appVersion": "", APP版本 | ||
39 | + "osVersion": "", 系统版本 | ||
40 | + "clientType": "", 客户端类型 | ||
41 | + "updateTime": "", 修改时间 | ||
42 | + "image": "", 图片 | ||
43 | + "hasImage": "", 是否有图片(0:无,1:有) | ||
44 | + "isHot": "", 是否热门(0:不热门,1:热门) | ||
45 | + "content": "", 内容 | ||
46 | + "replyContent": "", 回复内容 | ||
47 | + "isReliable": "", 是否靠谱(0:不靠谱,1:靠谱) | ||
48 | + "imageUrl": "", 图片绝对路径 | ||
49 | + "imageOriginUrl": "", 图片原始路径 | ||
50 | + "filterContent": "" 过滤后的内容 | ||
51 | + } | ||
52 | + ], | ||
53 | + "unReplyTotal": 152, | ||
54 | + "replyTotal": 326, | ||
55 | + "page": 0, | ||
56 | + "size": 50, | ||
57 | + "total": 1000, | ||
58 | + "totalPage":20 | ||
59 | + } | ||
60 | +} | ||
61 | + | ||
62 | +``` | ||
63 | + | ||
64 | + | ||
65 | +## 回复APP意见接口 | ||
66 | + | ||
67 | +> 接口名: '/suggest/suggest/replySuggest' | ||
68 | + | ||
69 | +### 入参 | ||
70 | + | ||
71 | +------------------------- | ||
72 | +|属性名称|类型|例子|说明| | ||
73 | +|--------|----|----|----| | ||
74 | +|id|String|123|id| | ||
75 | +|replyContent|String|-|回复内容| | ||
76 | +--------------------- | ||
77 | + | ||
78 | +### 返回 | ||
79 | + | ||
80 | +``` json | ||
81 | +{ | ||
82 | + "code":200, | ||
83 | + "message":"操作成功" | ||
84 | +} | ||
85 | + | ||
86 | +``` | ||
87 | + | ||
88 | + | ||
89 | +## 设置热门/非热门接口 | ||
90 | + | ||
91 | +> 接口名: '/suggest/suggest/setHotSuggest' | ||
92 | + | ||
93 | +### 入参 | ||
94 | + | ||
95 | +------------------------- | ||
96 | +|属性名称|类型|例子|说明| | ||
97 | +|--------|----|----|----| | ||
98 | +|id|String|123|id| | ||
99 | +|isHot|int|0|是否热门(0:不热门,1:热门)| | ||
100 | +--------------------- | ||
101 | + | ||
102 | +### 返回 | ||
103 | + | ||
104 | +``` json | ||
105 | +{ | ||
106 | + "code":200, | ||
107 | + "message":"操作成功" | ||
108 | +} | ||
109 | + | ||
110 | +``` | ||
111 | + | ||
112 | + | ||
113 | +## 删除APP意见接口 | ||
114 | + | ||
115 | +> 接口名: '/suggest/suggest/deleteSuggest' | ||
116 | + | ||
117 | +### 入参 | ||
118 | + | ||
119 | +------------------------- | ||
120 | +|属性名称|类型|例子|说明| | ||
121 | +|--------|----|----|----| | ||
122 | +|id|String|123|id| | ||
123 | +--------------------- | ||
124 | + | ||
125 | +### 返回 | ||
126 | + | ||
127 | +``` json | ||
128 | +{ | ||
129 | + "code":200, | ||
130 | + "message":"操作成功" | ||
131 | + | ||
132 | +} | ||
133 | + | ||
134 | +``` | ||
135 | + | ||
136 | + | ||
137 | +## 发送APP意见接口 | ||
138 | + | ||
139 | +> 接口名: '/suggest/suggest/publishSuggest' | ||
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 | +## 批量发送APP意见接口 | ||
160 | + | ||
161 | +> 接口名: '/suggest/suggest/batchPublishSuggest' | ||
162 | + | ||
163 | +### 入参 | ||
164 | + | ||
165 | +------------------------- | ||
166 | +|属性名称|类型|例子|说明| | ||
167 | +|--------|----|----|----| | ||
168 | +|id|String|123,12,1|id| | ||
169 | +--------------------- | ||
170 | + | ||
171 | +### 返回 | ||
172 | + | ||
173 | +``` json | ||
174 | +{ | ||
175 | + "code":200, | ||
176 | + "message":"操作成功" | ||
177 | +} | ||
178 | + | ||
179 | +``` | ||
180 | + | ||
181 | + | ||
182 | +## 获取所有APP版本号列表接口 | ||
183 | + | ||
184 | +> 接口名: '/suggest/suggest/getAllAppVersions' | ||
185 | + | ||
186 | +### 入参 | ||
187 | + | ||
188 | +无 | ||
189 | + | ||
190 | +### 返回 | ||
191 | + | ||
192 | +``` json | ||
193 | +{ | ||
194 | + "code":200, | ||
195 | + "message":"操作成功!", | ||
196 | + "data": [ | ||
197 | + "3.9.1", | ||
198 | + "3.9.2" | ||
199 | + ] | ||
200 | +} | ||
201 | + | ||
202 | +``` | ||
203 | + | ||
204 | + | ||
205 | +## 批量导出APP意见接口 | ||
206 | + | ||
207 | +> 接口名: '/suggest/suggest/batchExportSuggest' | ||
208 | + | ||
209 | +### 入参 | ||
210 | + | ||
211 | +------------------------- | ||
212 | +|属性名称|类型|例子|说明| | ||
213 | +|--------|----|----|----| | ||
214 | +|id|String|123,12,1|id| | ||
215 | +--------------------- | ||
216 | + | ||
217 | +### 返回 | ||
218 | + | ||
219 | +无 |
-
Please register or login to post a comment