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

		findShopsDecorator:{
			title:"店铺装修列表",
			url:"/ShopsDecoratorRest/findShopsDecorator2",
			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'},
				{name: 'shopStatus', type: 'number'},
				{name: 'blkShopStatus', 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'}
			]
		},

        findProductBySKN: {
            title:"根据 SKN 查询商品",
			url:"/ShopsDecoratorRest/findProductBySKN",
			params:[
				{name: 'shopsId', type: 'Number'},
				{name: 'productSkn', 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'}
			]
		},

		findProductNotInShop: {
			title: "检查商品是否属于店铺",
			url: "/ShopsDecoratorRest/findProductNotInShop",
			params: [
				{name: 'shopId', type: 'Number'},
				{name: 'productSkns', type: 'String'}
			]
		}
 	}
 }