author.js 817 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");
    /*作者管理-更新状态*/
    app.post("/guang/author/updateAuthorStatus","authorManager_updateAuthorStatus");
}