resourceSort.js 1.12 KB
/**
 * Created by ty on 2016/6/20.
 * 资源分类管理
 */

module.exports={
    namespace:"resourceSortManage",
    apis:{
        resSortIndex:{
            title: "资源分类管理列表",
            url: '/resources/resSortIndex'
        },
        addResSort:{
            title: "添加资源分类",
            url: '/resources/addResSort',
            params: [
                {name: 'sortName', type: 'string'},
                {name: 'platformId', type: 'number'},
                {name: 'status', type: 'number'}
            ]
        },
        updateResSort:{
            title: "修改资源分类",
            url: '/resources/updateResSort',
            params: [
                {name: 'sortId', type: 'number'},
                {name: 'sortName', type: 'string'},
                {name: 'platformId', type: 'number'},
                {name: 'status', type: 'number'}
            ]
        },
        deleteResourcesSort:{
            title: "删除资源分类",
            url: '/resources/deleteResourcesSort',
            params: [
                {name: 'sortId', type: 'number'}
            ]
        }
    }
}