guang.articleCategory.js 1.45 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'}
            ]
        },
        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'}
            ]
        },
        delSort:{
            title: "文章分类管理-删除",
            url: '/guang/article/sort/delSort',
            params: [
                {name: 'id', type: 'Number'}
            ]
        }
    }
}