webshare.js
1.7 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
/**
* 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: "shareUrl", type: "string"},
{name: "status", type: "string"}
]
},
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: "shareUrl", type: "string"},
{name: "status", type: "string"}
]
},
selectWebShare: {
title: "根据id查询数据",
url: "/webShare/selectWebShare",
params: [
{name: "id", type: "number"}
]
}
}
}