netsale.js
4.09 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/**
* Created by ty on 2016/5/18.
*/
module.exports={
namespace:"netsale",
apis:{
queryNetSaleInforList:{
title:"网销信息列表数据",
url:"/product/queryNetSaleInforList",
params: [
{name: 'productSkn',type: 'number'},
{name: 'productSkc',type: 'number'},
{name: 'productSku',type: 'number'},
{name: 'productName',type: 'string'},
{name: 'shopId',type: 'number'},
{name: 'brandId',type: 'number'},
{name: 'isJit',type: 'string'},
{name: 'stock',type: 'number'},
{name: 'isScreen',type: 'string'},
{name: 'isMeasure',type: 'string'},
{name: 'gender',type: 'number'},
{name: 'maxSortId',type: 'number'},
{name: 'middleSortId',type: 'number'},
{name: 'smallSortId',type: 'number'},
{name: 'isOutLets',type: 'string'},
{name: 'productStatus',type: 'number'},
{name: 'page',type: 'number'},
{name: 'size',type: 'number'},
{name: 'productStatusStr',type: 'string'},
{name: 'isInfoMiss',type: 'string'},
{name: 'sortFlag',type: 'number'},
{name: 'descFlag',type: 'string'},
{name:'isAdvance',type:'string'},
{name:'skcOnsaleStatus',type:'string'}
]
},
queryTabProductNum: {
title: "网销信息tab页",
url: "/product/queryTabProductNum",
params: [
{name: 'productSkn',type: 'number'},
{name: 'productSkc',type: 'number'},
{name: 'productSku',type: 'number'},
{name: 'productName',type: 'string'},
{name: 'shopId',type: 'number'},
{name: 'brandId',type: 'number'},
{name: 'isJit',type: 'string'},
{name: 'stock',type: 'number'},
{name: 'isScreen',type: 'string'},
{name: 'isMeasure',type: 'string'},
{name: 'gender',type: 'number'},
{name: 'maxSortId',type: 'number'},
{name: 'middleSortId',type: 'number'},
{name: 'smallSortId',type: 'number'},
{name: 'isOutLets',type: 'string'},
{name: 'productStatus',type: 'number'},
{name: 'productStatusStr',type: 'string'},
{name: 'isInfoMiss',type: 'string'},
{name: 'sortFlag',type: 'number'},
{name: 'descFlag',type: 'string'},
{name:'isAdvance',type:'string'},
{name:'skcOnsaleStatus',type:'string'}
]
},
updateProductSknTimingInfo:{
title: "批量skn处理",
url: "/product/updateProductSknTimingInfo",
params: [
{name: 'productSknList',type: 'string'},
{name: 'type',type: 'number'},
{name: 'outSaleTime',type: 'number'},
{name: 'shelveTime',type: 'string'},
{name: 'onNewTime',type: 'string'},
{name: 'advanceBeginTime',type: 'string'},
{name: 'advanceEndTime',type: 'string'}
]
},
updateGoodsStatus:{
title: "skc上下架",
url: "/product/updateGoodsStatus",
params: [{
name: 'productSkc',
type: 'number'
}, {
name: 'targetStatus',
type: 'number'
}]
},
updateProductSkuStatus:{
title: "sku上下架",
url: "/product/updateProductSkuStatus",
params: [{
name: 'productSku',
type: 'number'
}, {
name: 'targetStatus',
type: 'number'
}]
},
getNetSaleInfo:{
title:'查询网销详情',
url: '/product/getNetSaleInfo',
params:[
{name:'param',type: 'number'}
]
}
}
}