operations.suggest.js
2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
* Created by ty on 2016/6/21.
* app意见反馈管理
*/
module.exports={
namespace:"suggest",
apis:{
getSuggestList:{
title: "app意见反馈管理列表",
url: '/suggest/suggest/getSuggestList',
params: [
{name: 'page', type: 'Number', def: '1'},
{name: 'size', type: 'Number', def: '10'},
{name: 'uid', type: 'String'},//uid
{name: 'startTime', type: 'String'},//开始时间
{name: 'endTime', type: 'String'},//结束时间
{name: 'isHot', type: 'String'},//是否热门(0:不热门,1:热门)
{name: 'status', type: 'String'},//状态(0:未回复,1:已回复,2:已发送)
{name: 'clientType', type: 'String'},//来源
{name: 'appVersion', type: 'String'},//版本号
{name: 'replyPersonId', type: 'String'}//反馈人
]
},
replySuggest:{
title: "回复app意见",
url: '/suggest/suggest/replySuggest',
params: [
{name: 'id', type: 'String'},//id
{name: 'replyContent', type: 'String'}//回复内容
]
},
setHotSuggest:{
title: "设置热门/非热门接口",
url: '/suggest/suggest/setHotSuggest',
params: [
{name: 'id', type: 'String'},
{name: 'isHot', type: 'Number'}
]
},
deleteSuggest:{
title: "删除app意见",
url: '/suggest/suggest/deleteSuggest',
params: [
{name: 'id', type: 'String'}
]
},
publishSuggest:{
title: "发送APP意见",
url: '/suggest/suggest/publishSuggest',
params: [
{name: 'id', type: 'String'}
]
},
batchPublishSuggest:{
title: "批量发送APP意见",
url: '/suggest/suggest/batchPublishSuggest',
params: [
{name: 'id', type: 'String'}
]
}
}
}