helpCategory.js 1.39 KB
module.exports= {
    namespace: "helpCategory",
    apis: {
        getAllHelpCategory:{
            title:"所有帮助分类列表",
            url:"/HelpCategoryRest/getAllHelpCategory",
            params:[]
        },

        addCategory:{
            title:"添加帮助分类",
            url:"/HelpCategoryRest/addCategory",
            params:[
                {name: 'categoryName', type: 'String'},
                {name: 'parentId', type: 'Number'},
                {name: 'platform', type: 'String'}
            ]
        },

        updateHelpCategory:{
            title:"保存修改帮助分类",
            url:"/HelpCategoryRest/updateHelpCategory",
            params:[
                {name: 'id', type: 'Number'},
                {name: 'categoryName', type: 'String'},
                {name: 'parentId', type: 'Number'},
                {name: 'platform', type: 'String'}
            ]
        },

        deleteHelpCategory:{
            title:"删除帮助分类",
            url:"/HelpCategoryRest/deleteHelpCategory",
            params:[
                {name: 'id', type: 'Number'},
                {name: 'parentId', type: 'Number'}
            ]
        },

        getCategoryListByPid:{
            title:"帮助分类详情",
            url:"/HelpCategoryRest/getCategoryListByPid",
            params:[
                {name: 'parentId', type: 'Number'}
            ]
        }
    }
}