notice.js
759 Bytes
/**
* Created by ty on 2016/6/23.
* 公告管理
*/
module.exports=function(app) {
/*公告管理首页*/
app.get("/operations/notice/index","operations.notice.Index", function () {
this.$extend = {
moduleName: "公告管理",
pageName: "公告管理列表"
}
});
/*列表*/
app.post("/operations/notice/getList","notice_getList");
/*添加公告*/
app.post("/operations/notice/addNotice","notice_addNotice");
/*更改公告状态*/
app.post("/operations/notice/setStatus","notice_setStatus");
/*更新公告*/
app.post("/operations/notice/updateNotice","notice_updateNotice");
/*删除公告*/
app.post("/operations/notice/delNotice","notice_delNotice");
}