shop.shopDecoration.js 1.51 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: 'supplierId', type: 'number'}, 
				{name: 'brandId', type: 'number'}
			]
		},

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

		openShops:{
			title:"开店",
			url:"/ShopsRest/openShops",
			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'}
			]
		},

		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'}
			]
		}
 	}
 }