index.js
3.18 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/**
* Created by yoho on 2016/6/20.
* 搜索词 接口定义
*/
module.exports = {
namespace: "searchWords",
apis: {
/*************************************搜索词管理*************************************/
querySearchWords: {
title: "获取所有搜索词数据",
url: '/searchWords/querySearchWords',
params: {
type: {type: Number},
channelIds: {type: String},
startTime: {type: String},
endTime: {type: String},
content: {type: String},
status: {type: Number},
page: {type: Number},
size: {type: Number}
}
},
addSearchWords: {
title: "新增搜索词",
url: '/searchWords/addSearchWords',
params: {
type: {type: Number},
content: {type: Number},
channelIds: {type: String},
url: {type: String},
startTime: {type: String},
endTime: {type: String},
goodsNum: {type: Number},
sort: {type: Number}
}
},
updateSearchWords: {
title: "编辑搜索词",
url: '/searchWords/updateSearchWords',
params: {
id: {type: Number},
type: {type: Number},
content: {type: String},
channelIds: {type: String},
url: {type: String},
startTime: {type: String},
endTime: {type: String},
goodsNum: {type: Number},
status: {type: Number},
sort: {type: Number}
}
},
/*************************************品牌热搜词管理*************************************/
queryHotBrandList: {
title: "获取所有品牌热搜词数据",
url: '/hotSearchBrand/queryHotBrandList',
params: {
page: {type: Number},
size: {type: Number},
brandName: {type: String},
status: {type: Number}
}
},
addHotBrand: {
title: "添加品牌热搜词",
url: '/hotSearchBrand/addHotBrand',
params: {
brandName: {type: String},
orderBy: {type: Number},
status: {type: Number}
}
},
updateHotBrand: {
title: "编辑品牌热搜词",
url: '/hotSearchBrand/updateHotBrand',
params: {
id: {type: Number},
brandName: {type: String},
orderBy: {type: Number},
status: {type: Number}
}
},
delHotBrand: {
title: "删除品牌热搜词",
url: '/hotSearchBrand/delHotBrand',
params: {
id: {type: Number}
}
},
queryHotBrand: {
title: "查询单个品牌热搜词",
url: '/hotSearchBrand/queryHotBrand',
params: {
id: {type: Number}
}
}
}
};