helpContent.js 1.17 KB
module.exports = function (app){
    app.get("/operations/helpcontent/index", "help.Content", function (req,res){
        this.$extend={
            moduleName:"帮助管理",
            pageName:"帮助内容"
        }
    });

    //帮助内容列表
    app.post("/operations/helpcontent/getAllHelpContent","helpContent_getAllHelpContent");

    //添加帮助内容
    app.post("/operations/helpcontent/addHelpContent","helpContent_addHelpContent");

    //保存编辑帮助内容
    app.post("/operations/helpcontent/updateHelpContent","helpContent_updateHelpContent");

    //删除帮助内容
    app.post("/operations/helpcontent/deleteHelpContent","helpContent_deleteHelpContent");

    //帮助内容详情
    app.post("/operations/helpcontent/getHelpContentByCategoryId","helpContent_getHelpContentByCategoryId");

    //二级帮助分类
    app.post("/operations/helpcontent/getSecondCategoryList","helpContent_getSecondCategoryList");

    //查询所有帮助分类
    app.post("/operations/helpcontent/getAllHelpCategory","helpContent_getAllHelpCategory");

    //查询帮助分类
    app.post("/operations/helpcontent/getHelpCategory","helpContent_getHelpCategory");
}