platform.js 1.13 KB
/**
 * Created by ty on 2016/6/20.
 * 平台管理
 */

module.exports={
    namespace:"platformManage",
    apis:{
        findResPlatforms:{
            title: "资源管理列表",
            url: '/resources/findResPlatforms'
        },
        addResPlatform:{
            title: "添加平台",
            url: '/resources/addResPlatform',
            params: [
                {name: 'platformName', type: 'string'},
                {name: 'platformFlag', type: 'string'},
                {name: 'status', type: 'number'}
            ]
        },
        updateResPlatform:{
            title: "更新平台信息",
            url: '/resources/updateResPlatform',
            params: [
                {name: 'platformId', type: 'number'},
                {name: 'platformName', type: 'string'},
                {name: 'platformFlag', type: 'string'},
                {name: 'status', type: 'number'}
            ]
        },
        deleteResPlatform:{
            title: "删除平台",
            url: '/resources/deleteResPlatform',
            params: [
                {name: 'platformId', type: 'number'}
            ]
        }
    }
}