...
|
...
|
@@ -7,24 +7,24 @@ module.exports = function (app) { |
|
|
|
|
|
/*************************************搜索词管理*************************************/
|
|
|
//列表页
|
|
|
app.get("/searchWords/searchWords", "searchWords.SearchWords.Index",function(){
|
|
|
app.get("/operations/terms/index", "searchWords.SearchWords.Index",function(){
|
|
|
this.$extend={
|
|
|
filter: true
|
|
|
}
|
|
|
});
|
|
|
|
|
|
//获取所有搜索词
|
|
|
app.post("/searchWords/querySearchWords", "searchWords_querySearchWords");
|
|
|
app.post("/operation/terms/searchWordsList", "searchWords_querySearchWords");
|
|
|
|
|
|
//添加搜索词信息
|
|
|
app.post("/searchWords/addSearchWords", "searchWords_addSearchWords");
|
|
|
app.post("/operations/terms/add", "searchWords_addSearchWords");
|
|
|
|
|
|
//编辑搜索词信息
|
|
|
app.post("/searchWords/updateSearchWords", "searchWords_updateSearchWords");
|
|
|
app.post("/operations/terms/modify", "searchWords_updateSearchWords");
|
|
|
|
|
|
/*************************************品牌热搜词*************************************/
|
|
|
//列表页
|
|
|
app.get("/searchWords/hotBrand", "searchWords.HotBrand.Index",function(){
|
|
|
app.get("/hotSearchBrand/index", "searchWords.HotBrand.Index",function(){
|
|
|
this.$extend={
|
|
|
moduleName:'搜索词管理',
|
|
|
pageName:'品牌热搜词',
|
...
|
...
|
@@ -33,18 +33,18 @@ module.exports = function (app) { |
|
|
});
|
|
|
|
|
|
//获取所有搜索词
|
|
|
app.post("/searchWords/queryHotBrandList", "searchWords_queryHotBrandList");
|
|
|
app.post("/hotSearchBrand/queryHotBrandList", "searchWords_queryHotBrandList");
|
|
|
|
|
|
//添加搜索词信息
|
|
|
app.post("/searchWords/addHotBrand", "searchWords_addHotBrand");
|
|
|
app.post("/hotSearchBrand/addHotBrand", "searchWords_addHotBrand");
|
|
|
|
|
|
//编辑搜索词信息
|
|
|
app.post("/searchWords/updateHotBrand", "searchWords_updateHotBrand");
|
|
|
app.post("/hotSearchBrand/updateHotBrand", "searchWords_updateHotBrand");
|
|
|
|
|
|
//删除搜索词信息
|
|
|
app.post("/searchWords/delHotBrand", "searchWords_delHotBrand");
|
|
|
app.post("/hotSearchBrand/delHotBrand", "searchWords_delHotBrand");
|
|
|
|
|
|
//查询单个搜索词信息
|
|
|
app.post("/searchWords/queryHotBrand", "searchWords_queryHotBrand");
|
|
|
app.post("/hotSearchBrand/queryHotBrand", "searchWords_queryHotBrand");
|
|
|
|
|
|
}; |
|
|
\ No newline at end of file |
...
|
...
|
|