articleCategory.js 1.55 KB
/**
 * Created by ty on 2016/6/20.
 * 文章分类管理
 */

module.exports={
    namespace:"articleCategoryManager",
    apis:{
        getList:{
            title: "文章分类管理列表数据",
            url: '/guang/article/sort/getList',
            params: [
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'}
            ]
        },
        updateSort:{
            title: "文章分类管理-编辑",
            url: '/guang/article/sort/updateSort',
            params: [
                {name: 'id', type: 'Number'},
                {name: 'parentId', type: 'Number'},
                {name: 'orderBy', type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'name', type: 'String'},
                {name: 'advertCode', type: 'String'},
                {name: 'appType', type: 'Number'}
            ]
        },
        addSort:{
            title: "文章分类管理-添加",
            url: '/guang/article/sort/addSort',
            params: [
                {name: 'parentId', type: 'Number'},
                {name: 'orderBy', type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'name', type: 'String'},
                {name: 'advertCode', type: 'String'},
                {name: 'appType', type: 'Number'}
            ]
        },
        delSort:{
            title: "文章分类管理-删除",
            url: '/guang/article/sort/delSort',
            params: [
                {name: 'id', type: 'Number'}
            ]
        }
    }
}