unionType.unionType.js 1.59 KB
module.exports={
    namespace:"unionType",
    apis:{
        getUnionTypeList:{
            title:"联盟列表",
            url:"/unionType/getUnionTypeList",
            params:[                
                {name: 'name', type: 'String'},
                {name: 'unionType', type: 'Number'},
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'}
            ]
        },

        getUnionType:{
            title:"查询联盟",
            url:"/unionType/getUnionType",
            params:[
                {name: 'id', type: 'Number'}
            ]
        },

        addUnionType:{
            title:"添加联盟",
            url:"/unionType/addUnionType",
            params:[
                {name: 'name', type: 'String'},
                {name: 'goUrl', type: 'String'}
            ]
        },

        updateUnionType:{
            title:"修改联盟",
            url:"/unionType/updateUnionType",
            params:[
                {name: 'id', type: 'Number'},
                {name: 'name', type: 'String'},
                {name: 'goUrl', type: 'String'}
            ]
        },

       /* updateStatus:{
            title:"修改状态",
            url:"/unionType/updateStatus",
            params:[
                {name: 'id', type: 'Number'},
                {name: 'status', type: 'String'}
            ]
        },*/

        getUnionTypeUrls:{
            title:"获取链接",
            url:"/unionType/getUnionTypeUrls",
            params:[
                {name: 'id', type: 'Number'}               
            ]
        },
        
    }
}