Authored by 马力

搜索广告管理BO

/**
* Created by ty on 2017/02/07.
* 搜索广告管理
*/
module.exports=function(app) {
/*销售类目主页*/
app.get("/sale/category/index","operations.salecategory.Index", function () {
this.$extend = {
moduleName: "运营管理",
pageName: "销售类目管理",
gridurl: '/sale/salesCategory/querySCList'
}
});
/*标签管理页面*/
app.get("/sale/category/tag/:categoryId","operations.salecategory.TagMgmt", "salecategory_querySCById", function () {
this.$extend = {
moduleName: "运营管理",
pageName: "标签管理"
}
});
/*销售类目列表*/
app.post("/sale/salesCategory/querySCList","salecategory_querySCList");
/*根据id获取单个销售类目*/
app.post("/sale/salesCategory/querySCById","salecategory_querySCById");
/*标签管理列表数据接口*/
app.post("/sale/salesCategoryLabel/querySCLabelList","salecategory_querySCLabelList");
/*更新标签接口*/
app.post("/sale/salesCategoryLabel/updateSCLabel","salecategory_updateSCLabel");
/*更新销售类目接口*/
app.post("/sale/salesCategory/updateSC","salecategory_updateSC");
/*添加销售类目接口*/
app.post("/sale/salesCategory/addSC","salecategory_addSC");
/*开关销售类目*/
app.post("/sale/salesCategory/updateSCStatus","salecategory_updateSCStatus");
/*批量添加标签接口*/
app.post("/sale/salesCategoryLabel/addSCLabel","salecategory_addSCLabel");
}
\ No newline at end of file
... ...