operations.hotsuggest.js
2.62 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/**
* Created by ty on 2016/6/21.
* 热门意见管理
*/
module.exports={
namespace:"hotsuggest",
apis:{
getSuggestHotList:{
title: "获取热门意见列表",
url:'/suggest/suggestHot/getSuggestHotList',
params: [
{name: "startTime", type:"string"},
{name: "endTime", type:"string"},
{name: "status", type:"string"},
{name: "clientType", type: "string"},
{name: "hasImage", type:"string"},
{name: "isReliable", type:"string"},
{name: "page", type:"number"},
{name: "size", type: "number"}
]
},
addSuggestHot:{
title: "新增热门意见",
url: '/suggest/suggestHot/addSuggestHot',
params: [
{name: "status", type:"number"},
{name: "clientType", type:"string"},
{name: "coverImage", type:"string"},
{name: "orderBy", type:"number"},
{name: "content", type:"string"},
{name: "replyContent", type:"string"}
]
},
updateSuggestHot:{
title: "修改热门意见",
url: '/suggest/suggestHot/updateSuggestHot',
params: [
{name: "id", type:"number"},
{name: "status", type:"number"},
{name: "clientType", type:"string"},
{name: "coverImage", type:"string"},
{name: "orderBy", type:"number"},
{name: "content", type:"string"},
{name: "replyContent", type:"string"}
]
},
deleteSuggestHot:{
title: "删除/取消热门意见",
url: '/suggest/suggestHot/deleteSuggestHot',
params: [
{name: "id", type: "string"}
]
},
publishSuggestHot:{
title: "发布/撤回热门",
url: '/suggest/suggestHot/publishSuggestHot',
params: [
{name: "id", type: "string"},
{name: "status", type: "number"}
]
},
batchPublishSuggestHot:{
title: "批量发布热门意见",
url: '/suggest/suggestHot/batchPublishSuggestHot',
params: [
{name: "id", type: "string"}
]
},
getSuggestHotById:{
title: "根据id查询热门意见---------暂未用到",
url: '/suggest/suggestHot/getSuggestHotById',
params: [
{name: "id", type: "string"}
]
}
}
}