cod.js 3.84 KB
module.exports={
    namespace:"cod",
    apis:{
        queryTotalBrandPayDelivery:{
        	title:'品牌货到付款限制页面列表',
        	url: '/payDelivery/queryTotalBrandPayDelivery',
		    params: [
		        {name: 'brandId', type: 'Number'},
		        {name: 'brandName', type: 'String'},
		        {name: 'isPayDelivery', type: 'Number'},
		        {name: 'checkStatus', type: 'Number'},
		        {name: 'page', type: 'Number'},
		        {name: 'size', type: 'Number'}
		    ]
        },
        addPayDeliveryCheck:{
        	title:'开启 & 关闭 货到付款',
        	url: '/payDelivery/addPayDeliveryCheck',
		    params: [
		        {name: 'isPayDelivery', type: 'Number'},
		        {name: 'brandName', type: 'String'},
		        {name: 'brandId', type: 'Number'}
		    ]
        },
        reviewPayDeliveryCheck:{
        	title:'通过 & 驳回申请',
        	url: '/payDelivery/reviewPayDeliveryCheck',
		    params: [
		        {name: 'brandName', type: 'String'},
		        {name: 'brandId', type: 'Number'},
		        {name: 'rejectReason', type: 'String'},
		        {name: 'isPayDelivery', type: 'Number'},
		        {name: 'checkStatus', type: 'Number'},
		        {name: 'id', type: 'Number'}
		    ]
        },
        queryCountBrandPayDelivery:{
        	title:'获取tab上的数量',
        	url: '/payDelivery/queryCountBrandPayDelivery',
	        params: [
	            {name: 'brandId', type: 'Number'},
	            {name: 'isPayDelivery', type: 'Number'}
	        ]
        },
        queryPayDeliveryList:{
        	title:'单品货到付款限制页面路由——列表',
        	url: '/payDelivery/queryPayDeliveryList',
	        params: [
	            {name: 'brandId', type: 'Number'},
	            {name: 'brandName', type: 'String'},
	            {name: 'isPayDelivery', type: 'Number'},
	            {name: 'status', type:'Number'},
	            {name: 'productSkn', type:'Number'},
	            {name: 'page', type: 'Number'},
	            {name: 'size', type: 'Number'}
	        ]
        },
        openPayDelivery:{
        	title:'开启货到付款',
        	url: '/payDelivery/openPayDelivery',
	        params: [
	            {name: 'productSkn', type: 'String'},
	            {name: 'brandName', type: 'String'},
	            {name: 'brandId', type: 'Number'}
	        ]
        },
        closePayDelivery:{
        	title:'关闭货到付款',
        	url: '/payDelivery/closePayDelivery',
	        params: [
	            {name: 'productSkn', type: 'String'},
	            {name: 'brandName', type: 'String'},
	            {name: 'brandId', type: 'Number'}
	        ]
        },
        passPayDelivery:{
        	title:'通过申请',
        	url: '/payDelivery/passPayDelivery',
	        params: [
	            {name: 'productSkn', type: 'String'},
	            {name: 'brandName', type: 'String'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'id', type: 'Number'}
	        ]
        },
        rejectPayDelivery:{
        	title:'驳回申请',
        	url: '/payDelivery/rejectPayDelivery',
	        params: [
	            {name: 'productSkn', type: 'String'},
	            {name: 'brandName', type: 'String'},
	            {name: 'rejectReason', type: 'String'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'id', type: 'Number'}
	        ]
        },
        queryPayDeliveryProductSkn:{
        	title:'获取skn列表',
        	url: '/payDelivery/queryPayDeliveryProductSkn',
		    params: [
		        {name: 'idName', type: 'String'}
		    ]
        },
        queryCountProductPayDelivery:{
        	title:'获取tab上的数量',
        	url: '/payDelivery/queryCountProductPayDelivery',
	        params: [
	            {name: 'productSkn', type: 'String'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'isPayDelivery', type: 'Number'}
	        ]
        }
        
    }
}