列出活动 /v2/activities/list4Client GET QUERY
参数名 | 参数类型 | 参数描述 | 必选 |
---|---|---|---|
skip | number | 略过的数目 | 否 |
limit | number | 查询的数目 | 否 |
返回结构:
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": {
"skip": 0,
"limit": 10,
"totalItem": 14,
"dataList": [
{
"_id": "625f7afc4399e1002e1c32ed",
"title": "漫画争霸赛",
"persist": true,
"cover": "https://image.freelog.com/preview-image/7e28985de83c0b43daa4188ca8805d2c5a9d1f8e.png",
"link": "http://freelogcomic.testfreelog.com/",
"publishDate": "2022-04-20T03:16:14.000Z",
"status": 4,
"isDraft": false,
"updateTime": "2022-04-20T06:15:17.446Z",
"__v": 0,
"limitTime": null,
"startTime": null
},
{
"_id": "625e7f7b4399e1002e1c3172",
"title": "啊",
"startTime": "2022-04-19T18:03:03.000Z",
"limitTime": "2022-04-28T16:00:00.000Z",
"persist": false,
"cover": "https://image.freelog.com/preview-image/a8e3c68e55702aac768b6a1495a59f30a4d47aa2.jpg",
"link": "啊",
"publishDate": "2022-04-19T09:23:08.000Z",
"status": 5,
"isDraft": false,
"updateTime": "2022-04-20T06:23:17.028Z",
"__v": 0
},
{
"_id": "6253cec40cf6af002e9fe6f9",
"title": "a",
"startTime": "2022-04-11T06:47:20.000Z",
"limitTime": "2022-04-27T16:00:00.000Z",
"persist": false,
"cover": "https://image.freelog.com/preview-image/ea5d9d99b584a35552a48f8a04b2f3d36ce3561f.jpg",
"link": "a",
"publishDate": "2022-04-11T06:46:55.000Z",
"status": 5,
"isDraft": false,
"updateTime": "2022-04-11T06:46:28.009Z",
"__v": 0
},
{
"_id": "624fefd12080fc3688dae74b",
"title": "未命名活动",
"persist": false,
"publishDate": "2022-04-11T06:43:28.000Z",
"status": 5,
"isDraft": false,
"updateTime": "2022-04-11T06:43:28.325Z",
"__v": 0,
"cover": "https://image.freelog.com/preview-image/ea5d9d99b584a35552a48f8a04b2f3d36ce3561f.jpg",
"limitTime": "2022-04-12T06:43:00.000Z",
"link": "a",
"startTime": "2022-04-11T06:43:41.000Z"
},
{
"_id": "624fefe82080fc3688dae74d",
"title": "未命名活动",
"startTime": "2022-04-11T06:41:59.000Z",
"persist": false,
"publishDate": "2022-04-11T06:39:29.000Z",
"status": 4,
"isDraft": false,
"updateTime": "2022-04-11T06:41:23.213Z",
"__v": 0,
"cover": "https://image.freelog.com/preview-image/2d6c8341e97cb7e8a832e81046ca0ddc7af618b4.jpg",
"limitTime": "2022-04-29T16:00:00.000Z",
"link": "a"
},
{
"_id": "624ffb8cc75a363fc8588df1",
"title": "未命名活动1",
"startTime": "2022-04-11T06:26:10.000Z",
"persist": false,
"publishDate": "2022-04-11T06:25:09.000Z",
"status": 5,
"isDraft": false,
"updateTime": "2022-04-11T06:25:48.937Z",
"__v": 0,
"cover": "https://image.freelog.com/preview-image/ea5d9d99b584a35552a48f8a04b2f3d36ce3561f.jpg",
"limitTime": "2022-04-19T16:00:00.000Z",
"link": "a"
},
{
"_id": "624ffc7388e3950d200b67ac",
"title": "未命名活动2",
"startTime": "2022-04-07T08:00:00.000Z",
"persist": true,
"publishDate": "2022-04-11T06:19:19.000Z",
"status": 4,
"isDraft": false,
"updateTime": "2022-04-11T06:18:56.926Z",
"__v": 0,
"cover": "https://image.freelog.com/preview-image/2d6c8341e97cb7e8a832e81046ca0ddc7af618b4.jpg",
"limitTime": null,
"link": "a"
},
{
"_id": "6253c7e70cf6af002e9fe63e",
"title": "a",
"persist": false,
"cover": "https://image.freelog.com/preview-image/2d6c8341e97cb7e8a832e81046ca0ddc7af618b4.jpg",
"link": "a",
"publishDate": "2022-04-11T06:17:22.000Z",
"status": 5,
"isDraft": false,
"updateTime": "2022-04-20T06:16:03.735Z",
"__v": 0,
"limitTime": "2022-04-26T16:00:00.000Z",
"startTime": "2022-04-20T16:00:00.000Z"
},
{
"_id": "6253c5c60cf6af002e9fe61c",
"title": "未命名活动",
"persist": true,
"status": 4,
"isDraft": false,
"updateTime": "2022-04-11T06:12:18.093Z",
"__v": 0,
"cover": "https://image.freelog.com/preview-image/2d6c8341e97cb7e8a832e81046ca0ddc7af618b4.jpg",
"limitTime": null,
"link": "a",
"publishDate": "2022-04-11T06:12:30.000Z",
"startTime": null
},
{
"_id": "624fa7c8e63b10002e99c323",
"title": "未开始",
"persist": false,
"publishDate": "2022-04-08T06:23:59.000Z",
"status": 5,
"isDraft": false,
"updateTime": "2022-04-08T06:23:58.278Z",
"__v": 0,
"cover": "https://image.freelog.com/preview-image/6c21763787cba4b40262a7d299812bb666a08872.jpg",
"limitTime": "2022-04-08T16:00:00.000Z",
"link": "a",
"startTime": "2022-04-08T08:23:23.000Z"
}
]
}
}
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
结构参数:
参数名 | 参数类型 | 参数描述 |
---|---|---|
_id | number | _id |
title | string | 标题 |
startTime | Date | 开始时间 |
limitTime | Date | 结束时间 |
persist | boolean | 是否永久,若此参数为true,将忽略掉开始、结束时间 |
cover | string | 封面 |
link | string | 链接 |
publishDate | Date | 发布时间,立即发布时,请将该参数置为当前时间 |
status | number | 状态 1:正常 2:暂停 3:即将开始 4:进行中 5:已结束 |
isDraft | boolean | 是否草稿 |
查询活动 /v2/activities/find4Client GET QUERY
参数名 | 参数类型 | 参数描述 | 必选 |
---|---|---|---|
_id | number | _id | 是 |
返回结构:
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": {
"_id": "625f7afc4399e1002e1c32ed",
"title": "漫画争霸赛",
"persist": true,
"cover": "https://image.freelog.com/preview-image/7e28985de83c0b43daa4188ca8805d2c5a9d1f8e.png",
"link": "http://freelogcomic.testfreelog.com/",
"publishDate": "2022-04-20T03:16:14.000Z",
"status": 4,
"isDraft": false,
"updateTime": "2022-04-20T06:15:17.446Z",
"__v": 0,
"limitTime": null,
"startTime": null
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
结构参数:
参数名 | 参数类型 | 参数描述 |
---|---|---|
_id | number | _id |
title | string | 标题 |
startTime | Date | 开始时间 |
limitTime | Date | 结束时间 |
persist | boolean | 是否永久,若此参数为true,将忽略掉开始、结束时间 |
cover | string | 封面 |
link | string | 链接 |
publishDate | Date | 发布时间,立即发布时,请将该参数置为当前时间 |
status | number | 状态 1:正常 2:暂停 3:即将开始 4:进行中 5:已结束 |
isDraft | boolean | 是否草稿 |
← 运营活动接口文档 运营钱包接口文档_客户端 →