guang.author.js 699 Bytes
/**
 * Created by ty on 2016/6/20.
 * 作者管理
 */

module.exports=function(app) {

    app.get("/guang/author/index","guang.author.Index", function () {
        this.$extend = {
            iscreate: true,
            moduleName: "作者管理",
            pageName: "作者列表"
        };
    });
    /*作者管理列表数据*/
    app.post("/guang/author/getList","authorManager_getList");

    /*作者管理-添加*/
    app.post("/guang/author/addAuthor","authorManager_addAuthor");

    /*作者管理-编辑*/
    app.post("/guang/author/updateAuthor","authorManager_updateAuthor");

    /*作者管理-删除*/
    app.post("/guang/author/delAuthor","authorManager_delAuthor");

}