...
|
...
|
@@ -704,5 +704,193 @@ exports.res = [{ |
|
|
name: 'brandId',
|
|
|
type: 'Number'
|
|
|
}]
|
|
|
},
|
|
|
//***********************************陶雨*******************************
|
|
|
{
|
|
|
//保存搜索顺序
|
|
|
route: '/netSale/saveSearchSort',
|
|
|
method: 'POST',
|
|
|
url: '/product/saveSearchSort',
|
|
|
params: [{
|
|
|
name: 'searchSortList',
|
|
|
type: 'string'
|
|
|
}]
|
|
|
}, {
|
|
|
//查找热搜词
|
|
|
route: '/netSale/queryHotSearchTerms',
|
|
|
method: 'POST',
|
|
|
url: '/searchWords/queryHotSearchTerms',
|
|
|
params: [{
|
|
|
name: 'page',
|
|
|
type: 'number'
|
|
|
}, {
|
|
|
name: 'size',
|
|
|
type: 'number',
|
|
|
def: 10
|
|
|
}]
|
|
|
}, {
|
|
|
//查找洗涤提示
|
|
|
route: '/netSale/getAll4Select',
|
|
|
method: 'POST',
|
|
|
url: '/washTips/getAll4Select/',
|
|
|
params: []
|
|
|
}, {
|
|
|
//查找材质参数
|
|
|
route: '/netSale/queryAllBySortId4Select',
|
|
|
method: 'POST',
|
|
|
url: '/productMaterial/queryAllBySortId4Select',
|
|
|
params: [{
|
|
|
name: 'param',
|
|
|
type: 'number'
|
|
|
}]
|
|
|
}, {
|
|
|
//查找所有商品参数信息 //暂时没用
|
|
|
route: '/netSale/queryAllGoodsParams',
|
|
|
method: 'POST',
|
|
|
apis: {
|
|
|
washTipsList: {
|
|
|
url: '/washTips/getAll4Select/'
|
|
|
},
|
|
|
materialList: {
|
|
|
url: 'productMaterial/queryAllBySortId4Select',
|
|
|
params: [{
|
|
|
name: 'param',
|
|
|
type: 'number'
|
|
|
}],
|
|
|
isJsonRaw: true
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
//保存搜索关键词
|
|
|
route: '/netSale/saveNetSaleSearchKeys',
|
|
|
method: 'POST',
|
|
|
url: '/product/saveNetSaleSearchKeys',
|
|
|
params: [{
|
|
|
name: 'productSkn',
|
|
|
type: 'number'
|
|
|
}, {
|
|
|
name: 'searchKeys',
|
|
|
type: 'string'
|
|
|
}]
|
|
|
}, {
|
|
|
//保存商品参数
|
|
|
route: '/netSale/saveProductParam',
|
|
|
method: 'POST',
|
|
|
url: '/product/saveProductParam',
|
|
|
params: [{
|
|
|
name: 'productSkn',
|
|
|
type: 'number'
|
|
|
}, {
|
|
|
name: 'attributeProValuesOne',
|
|
|
type: 'string'
|
|
|
}, {
|
|
|
name: 'productStandardRelationStr',
|
|
|
type: 'string'
|
|
|
},{
|
|
|
name: 'productMaterial',
|
|
|
type: 'string'
|
|
|
}]
|
|
|
},
|
|
|
//************************************weiqingting**********************
|
|
|
//商品描述
|
|
|
{
|
|
|
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'
|
|
|
}]
|
|
|
}, { //单独维护封面信息
|
|
|
//http://172.16.6.227:8083/yohobuy-platform-web/product/manageProductImg
|
|
|
route: '/netSale/manageProductImg',
|
|
|
method: 'POST',
|
|
|
url: '/product/manageProductImg',
|
|
|
params: [{
|
|
|
name: 'goodsImagesReq',
|
|
|
type: 'string'
|
|
|
}]
|
|
|
}
|
|
|
]; |
|
|
\ No newline at end of file |
...
|
...
|
|