shop.shop.js 1.2 KB
 module.exports={
 	namespace:"shop",
 	apis:{
		findBusinessShopsDecorator:{
			title:"店铺装修列表页面",
			url:"/ShopsDecoratorRest/findBusinessShopsDecorator",
			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'
			}]
		},

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

 	}
 }