subject.js
966 Bytes
/**
* Created by ty on 2016/6/23.
* 专题管理
*/
module.exports=function(app) {
/*销售类目主页*/
app.get("/runManage/subjectManage/index","operations.subject.Index", ["subject_queryBaseProductPoolList"],function (rs) {
this.$extend = {
moduleName: "运营管理",
pageName: "专题管理",
select:rs.data
}
});
/*活动列表*/
app.post("/runManage/subjectManage/subjectList","subject_querySpecialActivityPage");
/*添加活动*/
app.post("/runManage/subjectManage/addSubject","subject_addSpecialActivity");
/*修改活动*/
app.post("/runManage/subjectManage/modify","subject_updateByPrimaryKey");
/*删除活动*/
app.post("/runManage/subjectManage/delSubject","subject_deleteSpecialActivity");
/*dropDown 根据名称获取商品池*/
app.post("/runManage/subjectManage/queryBaseProductPoolListByName","subject_queryBaseProductPoolList");
}