shop.shopDecoration.js 2.91 KB
 module.exports={
 	namespace:"shopDecoration",
 	apis:{
		/******************店铺装修列表********************/

		findShopsDecorator:{
			title:"店铺装修列表",
			url:"/ShopsDecoratorRest/findShopsDecorator",
			params: [
				{name: 'page', type: 'number'}, 
				{name: 'size', type: 'number'}, 
				{name: 'shopsId', type: 'number'}, 
				{name: 'checkStatus', type: 'number'},
				{name: 'blkCheckStatus', type: 'number'},
				{name: 'supplierId', type: 'number'}, 
				{name: 'brandId', type: 'number'}
			]
		},

		closeShops:{
			title:"yoho关店",
			url:"/ShopsRest/closeShops",
			params: [
				{name:"shopsId",type:"Number"}
			]
		},

		openShops:{
			title:"yoho开店",
			url:"/ShopsRest/openShops",
			params: [
				{name:"shopsId",type:"Number"}
			]
		},

		closeBlkShops:{
			title:"blk关店",
			url:"/ShopsRest/closeBlkShops",
			params: [
				{name:"shopsId",type:"Number"}
			]
		},

		openBlkShops:{
			title:"blk开店",
			url:"/ShopsRest/openBlkShops",
			params: [
				{name:"shopsId",type:"Number"}
			]
		},
		
		/*****************店铺装修详情*********************/

		findShopsDecoratorDetail:{
			title:"店铺装修详情",
			url:"/ShopsDecoratorRest/findShopsDecoratorDetail",
			params:[
				{name: 'shopsId', type: 'Number'}
			]
		},

		saveShopsDecorator:{
			title:"店铺装修详情保存",
			url:"/ShopsDecoratorRest/saveShopsDecorator",
			params:[
				{name: 'shopsId', type: 'Number'},
				{name: 'submitStatus', type: 'Number'},
				{name: 'platform', type: 'String'},
				{name: 'templateType', type: 'String'},
				{name: 'resources', type: 'String'}
			]
		},

		findHotProductList:{
			title:"查询热销商品",
			url:"/ShopsDecoratorRest/findHotProductList",
			params:[
				{name: 'shopsId', type: 'Number'},
				{name: 'size', type: 'Number'}
			]
		},

		findNewProductList:{
			title:"查询最新商品",
			url:"/ShopsDecoratorRest/findNewProductList",
			params:[
				{name: 'shopsId', type: 'Number'},
				{name: 'size', type: 'Number'}
			]
		},

		/*****************BLK店铺装修详情*********************/

		findBlkShopsDecoratorDetail:{
			title:"BLK店铺装修详情",
			url:"/ShopsDecoratorRest/findBlkShopsDecoratorDetail",
			params:[
				{name: 'shopsId', type: 'Number'}
			]
		},

		saveBlkShopsDecorator:{
			title:"保存BLK店铺装修信息",
			url:"/ShopsDecoratorRest/saveBlkShopsDecorator",
			params:[
				{name: 'shopsId', type: 'Number'},
				{name: 'platform', type: 'String'},
				{name: 'templateName', type: 'String'},
				{name: 'templateType', type: 'Number'},
				{name: 'resources', type: 'String'},
				{name: 'appType', type: 'Number'},
				{name: 'submitStatus', type: 'Number'}
			]
		},

		findBlkProductByShopsId:{
			title:"获取店铺下的BLK商品",
			url:"/ShopsDecoratorRest/findBlkProductByShopsId",
			params:[
				{name: 'shopsId', type: 'Number'},
				{name: 'productSkn', type: 'Number'},
				{name: 'size', type: 'number'}
			]
		}
 	}
 }