productBundle.js
1.66 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
/**
* 商品套餐
*/
module.exports={
namespace:"productBundle",
apis:{
productBundleList:{
title: "单品列表 ajax 分页",
url: '/productBundleList',
params: [
{name: 'id', type: 'Number'},
{name: 'productSkn', type: 'String'},
{name: 'status', type: 'Number'},
{name: 'brand', type: 'Number'},
{name: 'bundleName', type: 'String'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
productBundleSaveOrUpdate: {
title: "保存编辑",
url: '/productBundleSaveOrUpdate',
params: [
{ name: 'id', type: 'Number'},
{ name: 'productSkn', type: 'String'},
{ name: 'bundleName', type: 'String'},
{ name: 'discount', type: 'Number'},
{ name: 'startTime', type: 'Number'},
{ name: 'endTime', type: 'Number'}
]
},
productBundleStop: {
title: "终止",
url: "/productBundleStop",
params: [
{ name: 'id', type: 'Number'}
]
},
findProductBundleByID: {
title: "查询单个商品套装",
url: "/findProductBundleByID",
params: [
{ name: 'id', type: 'Number'}
]
},
syncProductBundleToFront: {
title: "同步到前台",
url: "/syncProductBundleToFront",
params: [
{ name: 'id', type: 'Number'}
]
}
}
}