shop.js 1.54 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'},
				{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'}
			]
        }

 	}
 }