helpContent.js 2.02 KB
module.exports= {
    namespace: "helpContent",
    apis: {
        getAllHelpContent:{
            title:"帮助内容列表",
            url:"/HelpContentRest/getAllHelpContent",
            params:[
                {name: 'categoryId', type: 'Number'},
                {name: 'platform', type: 'string'}
            ]
        },

        addHelpContent:{
            title:"添加帮助内容",
            url:"/HelpContentRest/addHelpContent",
            params:[
                {name: 'title', type: 'string'},
                {name: 'categoryId', type: 'Number'},
                {name: 'content', type: 'string'},
                {name: 'platform', type: 'string'}
            ]
        },

        updateHelpContent:{
            title:"保存编辑帮助内容",
            url:"/HelpContentRest/updateHelpContent",
            params:[
                {name: 'id', type: 'Number'},
                {name: 'title', type: 'string'},
                {name: 'categoryId', type: 'Number'},
                {name: 'content', type: 'string'},
                {name: 'platform', type: 'string'}
            ]
        },

        deleteHelpContent:{
            title:"删除帮助内容",
            url:"/HelpContentRest/deleteHelpContent",
            params:[
                {name: 'id', type: 'Number'}
            ]
        },

        getHelpContentByCategoryId:{
            title:"帮助内容详情",
            url:"/HelpContentRest/getHelpContentByCategoryId",
            params:[
                {name: 'categoryId', type: 'Number'}
            ]
        },

        getSecondCategoryList:{
            title:"二级帮助分类",
            url:"/HelpCategoryRest/getSecondCategoryList",
            params:[]
        },

        getAllHelpCategory:{
            title:"查询所有帮助分类",
            url:"/HelpCategoryRest/getAllHelpCategory",
            params:[]
        },

        getHelpCategory:{
            title:"查询帮助分类",
            url:"/HelpCategoryRest/getHelpCategory",
            params:[]
        }
    }
}