netSaleWq.js 1.59 KB
exports.domain = require('../config/common.js').domain;

exports.res = [
//商品描述
{
	route:'/netSale/saveProductDesc',
	method:'POST',
	url: '/product/saveProductDesc',
	params: [
		{name: 'productSkn', type: 'Number'},
		{name:'productDesc',type:'String'}
	]
},
//小编推荐
{
	route:'/netSale/saveNetSaleRecommend',
	method:'POST',
	url: '/product/saveNetSaleRecommend',
	params: [
		{name: 'productSkn', type: 'Number'},
		{name:'recommend',type:'String'}
	]
},

{//查询搭配列表
	route:"/netSale/selectCollocationListBySkn",
	method:'POST',
	url:'/collocation/selectCollocationListBySkn',
	params:[
		{name:'productSkn',type:'Number'},
		{name:'page',type:'Number'},
		{name:'size',type:'Number'}
	]
},
{//获取单个商品搭配信息
	route:'/netSale/selectCollocationById',
	method:'POST',
	url: '/collocation/selectCollocationById',
	params: [
		{name: 'param', type: 'Number'}
	]
},
{//添加单个搭配
	route:'/netSale/insertCollocation',
	method:'POST',
	url: '/collocation/insertCollocation',
	params: [
		{name: 'productSkn', type: 'Number'},
		{name: 'imageUrl', type: 'String'},
		{name: 'content', type: 'String'},
		{name: 'infoStr', type: 'String'}
	]
},
{//更新单个搭配
	route:'/netSale/updateCollocation',
	method:'POST',
	url: '/collocation/updateCollocation',
	params: [
		{name: 'id', type: 'Number'},
		{name: 'imageUrl', type: 'String'},
		{name: 'content', type: 'String'},
		{name: 'infoStr', type: 'String'}
	]
},
{//删除单个搭配
	route:'/netSale/delCollocationById',
	method:'POST',
	url: '/collocation/delCollocationById',
	params: [
		{name: 'param', type: 'Number'}
	]
}
];