price.js
3.94 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
109
110
111
112
113
114
115
116
117
/**
* Created by ty on 2016/5/19.
*/
module.exports={
namespace:"price",
apis:{
queryProductPriceList:{
title: "列表数据",
url: "/product/queryProductPriceList",
params: [
{name: 'product_skn',type: 'Number'},
{name: 'shop_id',type: 'Number'},
{name: 'brand_id',type: 'Number'},
{name: 'supplier_id',type: 'Number'},
{name: 'is_jit',type: 'String'},
{name: 'is_auditing',type: 'Number'},
{name: 'stock',type: 'Number'},
{name: 'gender',type: 'Number'},
{name: 'max_sort_id',type: 'Number'},
{name: 'middle_sort_id',type: 'Number'},
{name: 'small_sort_id',type: 'Number'},
{name: 'page',type: 'Number'},
{name: 'size',type: 'Number'}
]
},
getProductPrice:{
title: "获得单个变价详情",
url: "/product/getProductPrice",
params: [
{name: 'product_skn',type: 'Number'}
]
},
updateProductPrice:{
title: "单个变价接口",
url: '/product/updateProductPrice',
params: {
product_skn:{type:Number},
sales_price:{type:Number},
vip_discount_type:{type:Number},
return_coin:{type:Number},
vip_price:{type:Number},
vip1_price:{type:Number},
vip2_price:{type:Number},
vip3_price:{type:Number},
cgpriceStartTime:{type:String},
cgpriceEndTime:{type:String},
interfaceResource:{type:String},
planId:{type:Number}
}
},
queryProductPriceListBySkn:{
title:'变价记录',
url: '/product/queryProductPriceListBySkn',
params: [
{name: 'param', type: 'Number'}
]
},
deletePricePlan:{
title:'删除变价记录',
url: '/product/deletePricePlan',
params: [
{name: 'param', type: 'Number'}
]
},
batchUpdateProductPrice:{
title: "批量变价接口",
url: '/product/batchUpdateProductPrice',
params: [
{name: 'batchList',type: 'String'},
{name: 'cgpriceStartTime', type: 'String'},
{name: 'cgpriceEndTime', type: 'String'},
{name: 'interfaceResource', type: 'String'}
]
},
queryBrandCooperationList:{
title:"品牌合作模式列表数据",
url: '/brandCooperation/queryBrandCooperationList',
params: [
{name: 'cooperateTypeId',type: 'Number'},
{name: 'brandName',type: 'String'},
{name: 'setFlag',type: 'Number'},
{name: 'page',type: 'Number'},
{name: 'size',type: 'Number'}
]
},
saveBrandCooperation:{
title: "品牌合作模式修改合作模式",
url: '/brandCooperation/saveBrandCooperation',
params: [
{name: 'id',type: 'Number'},
{name: 'cooperateTypeId',type: 'String'},
{name: 'brandId',type: 'Number'}
]
},
selectCheckPassShopsByName:{
title: "店铺列表",
url: "/ShopsRest/selectCheckPassShopsByName",
params: [{
name: "idName",
type: "String"
}]
},
getBrandNames:{
title: "获取品牌名",
url: '/erpproduct/brands/getBrandNames',
params: [{
name: 'idName',
type: 'String'
}, {
name: 'status',
type: 'Number'
}]
}
}
}