netSaleTy.js
1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
exports.domain = require('../config/common.js').domain;
exports.res = [
{
//保存搜索顺序
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: 'washTips', type: 'string'},
{name: 'productMaterial', type: 'string'}
]
}
];