yohoCoin.js 3.1 KB
module.exports={
    namespace:"yohoCoin",
    apis:{
        queryPageList:{
        	title:'yoho币管理列表查询',
        	url: "/yohoCoin/queryPageList",
	        params:[
	            {name: 'productSkn', type: 'Number'},
	            {name: 'shopId', type: 'Number'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'supplierId', type: 'Number'},
	            {name: 'gender', type: 'String'},
	            {name: 'auditStatus', type: 'Number'},
	            {name: 'maxSortId', type: 'Number'},
	            {name: 'middleSortId', type: 'Number'},
	            {name: 'smallSortId', type: 'Number'},
	            {name: 'sortId', type: 'Number'},
	            {name: 'page', type: 'Number'},
				{name: 'size', type: 'Number'},
				{name: 'returnCoinMoney', type: 'Number'}
	        ]
        },
        set:{
        	title:'编辑保存yoho币',
        	url: "/yohoCoin/set",
	        params:[
	            {name: 'productSkn', type: 'Number'},
	            {name: 'returnCoinMoney', type: 'Number'},
	            {name: 'salesPrice', type: 'Number'},
	            {name: 'auditorId', type: 'Number'}
	        ]
        },
        queryBatchImportResult:{
        	title:'批量上传TaskId查询',
        	url: "/importResult/queryBatchImportResult",
	        params:[
	            {name: 'param', type: 'String'},
	        ]
        },
        insertBatch:{
        	title:'批量确认提交',
        	url: "/yohoCoin/insertBatch",
	        params:[
	            {name: 'auditorId', type: 'Number'},
	            {name: 'productPrices', type: 'String'}
	        ]
        },
        queryPageList4Audit:{
        	title:'yoho币审核列表查询',
        	url: "/yohoCoin/queryPageList4Audit ",
	        params:[
	            {name: 'auditStatus', type: 'Number'},
	            {name: 'productSkn', type: 'Number'},
	            {name: 'shopId', type: 'Number'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'supplierId', type: 'Number'},
	            {name: 'gender', type: 'String'},
	            {name: 'auditorId', type: 'Number'},
	            {name: 'maxSortId', type: 'Number'},
	            {name: 'middleSortId', type: 'Number'},
	            {name: 'smallSortId', type: 'Number'},
	            {name: 'sortId', type: 'Number'},
	            {name: 'page', type: 'Number'}
	        ]
        },
        pass:{
        	title:'审核通过',
        	url: "/yohoCoin/pass",
	        params:[
	            {name: 'productSkn', type: 'Number'},
	        ]
        },
        passBatch:{
        	title:'批量审核通过',
        	url: "/yohoCoin/passBatch",
	        params:[
	            {name: 'productSkns', type: 'String'},
	        ]
        },
        reject:{
        	title:'驳回',
        	url: "/yohoCoin/reject",
	        params:[
	            {name: 'productSkn', type: 'Number'},
	            {name: 'comment', type: 'String'},
	        ]
        },
        rejectBatch:{
        	title:'批量驳回',
        	url: "/yohoCoin/rejectBatch",
	        params:[
	            {name: 'productSkns', type: 'String'},
	            {name: 'comment', type: 'String'},
	        ]
        }
    }
}