operations.webshare.js
2.13 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
/**
* Created by ty on 2016/7/6.
* 活动分享管理
*/
module.exports = {
namespace: "webshare",
apis: {
getWebShareList: {
title: "活动分享列表",
url: "/webShare/getWebShareList",
params: [
{name: "id", type: "number"},
{name: "status", type: "string"},
{name: "title", type: "string"},
{name: "page", type: "number"},
{name: "size", type: "number", default: 20}
]
},
addWebShare: {
title: "新增活动分享",
url: "/webShare/addWebShare",
params: [
{name: "title", type: "string"},
{name: "shareTitleMain", type: "string"},
{name: "shareTitleSub", type: "string"},
{name: "shareImage", type: "string"},
{name: "bigImage", type: "string"},
{name: "shareUrl", type: "string"},
{name: "status", type: "string"},
{name: "couponId", type: "number"},
{name: "couponStartTime", type: "Number"},
{name: "couponEndTime", type: "Number"}
]
},
updateWebShare: {
title: "更新活动分享",
url: "/webShare/updateWebShare",
params: [
{name: "id", type: "number"},
{name: "title", type: "string"},
{name: "shareTitleMain", type: "string"},
{name: "shareTitleSub", type: "string"},
{name: "shareImage", type: "string"},
{name: "bigImage", type: "string"},
{name: "shareUrl", type: "string"},
{name: "status", type: "string"},
{name: "couponId", type: "number"},
{name: "couponStartTime", type: "Number"},
{name: "couponEndTime", type: "Number"}
]
},
selectWebShare: {
title: "根据id查询数据",
url: "/webShare/selectWebShare",
params: [
{name: "id", type: "number"}
]
}
}
}