...
|
...
|
@@ -8,23 +8,27 @@ module.exports=function(app) { |
|
|
/*首页*/
|
|
|
app.get("/guang/article/index","guang.info.Index", function () {
|
|
|
this.$extend = {
|
|
|
iscreate: true
|
|
|
iscreate: true,
|
|
|
moduleName: "资讯管理",
|
|
|
pageName: "资讯列表管理"
|
|
|
};
|
|
|
});
|
|
|
|
|
|
/*添加*/
|
|
|
app.get("/guang/article/contentAdd","guang.infoManager.Edit", function () {
|
|
|
app.get("/guang/article/contentAdd","guang.info.Edit", function () {
|
|
|
this.$extend = {
|
|
|
action:"/guang/article/addArticle",
|
|
|
pageTitle:"添加文章"
|
|
|
moduleName: "文章管理",
|
|
|
pageName: "添加文章"
|
|
|
};
|
|
|
});
|
|
|
|
|
|
/*编辑*/
|
|
|
app.get("/guang/article/contentEdit/:id","guang.infoManager.Edit", function () {
|
|
|
app.get("/guang/article/contentEdit/:id","guang.info.Edit", function () {
|
|
|
this.$extend = {
|
|
|
action:"/guang/article/updateArticle",
|
|
|
pageTitle:"修改文章"
|
|
|
moduleName: "文章管理",
|
|
|
pageName: "修改文章"
|
|
|
};
|
|
|
});
|
|
|
|
...
|
...
|
|