operations.hotRankTag.js
1.75 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
/**
* Created by ty on 2016/6/23.
* Top100标签
*/
module.exports={
namespace:"hotRankTag",
apis:{
selectTagList:{
title: "搜索词列表",
url: '/hotRankTag/selectTagList',
params: [
{name: 'page', type: 'Number', def: '1'},
{name: 'size', type: 'Number', def: '10'},
{name: 'platform', type: 'String'},//平台
{name: 'channel', type: 'String'},//频道
{name: 'status', type: 'Number'}
]
},
addTag:{
title: "添加搜索词",
url: '/hotRankTag/addTag',
params: [
{name: 'tagName', type: 'String'},
{name: 'categoryId', type: 'String'},
{name: 'platform', type: 'String'},
{name: 'channel', type: 'String'},
{name: 'orderBy', type: 'Number'}
]
},
updateTag:{
title: "修改搜索词",
url: '/hotRankTag/updateTag',
params: [
{name: 'id', type: 'Number'},
{name: 'tagName', type: 'String'},
{name: 'categoryId', type: 'String'},
{name: 'platform', type: 'String'},
{name: 'channel', type: 'String'},
{name: 'orderBy', type: 'Number'}
]
},
publishTag:{
title: "发布搜索词",
url: '/hotRankTag/publishTag',
params: [
{name: 'id', type: 'Number'}
]
},
closeTag:{
title: "关闭搜索词",
url: '/hotRankTag/closeTag',
params: [
{name: 'id', type: 'Number'}
]
}
}
}