# 获取展品推荐列表
# 调用方式: GET
# 接口地址:
正式环境
https://api.freelog.com/v2/exhibits/{nodeId}/{exhibitId}/recommend
1
2
2
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
nodeId | 必选 | int | 节点ID |
exhibitId | 必选 | string | 展品ID,推荐是根据此展品的信息进行推荐的 |
recommendNorm | 必选 | string | 推荐指标多个用逗号分隔,优先级也按照实际顺序来, 具体指标为 sameAuthorAndType: 同作者同资源类型 sameTagAndType:同类型同标签(部分) sameType:同类型 latestCreate:最新创建的 |
size | 可选 | int | 推荐数量,默认是10, 最大100 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
exhibitId | string | 展品ID |
exhibitName | string | 展品名称 |
exhibitTitle | string | 展品标题 |
tags | string[] | 展品标签 |
intro | string | 展品简介 |
coverImages | string[] | 展品封面图 |
version | string | 展品版本 |
onlineStatus | int | 上线状态 0:下线 1:上线 |
exhibitSubjectType | int | 展品对应的标的物类型(1:资源 2:展品 3:用户组) |
userId | int | 展品的创建者ID |
nodeId | int | 展品所属节点ID |
status | int | 状态(0:正常) |
createDate | date | 创建日期 |
updateDate | date | 更新日期 |
# 返回示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": [{
"exhibitId": "6694c6a33a6fd1002fbf6124",
"exhibitName": "第五章_聚气散",
"exhibitTitle": "第五章 聚气散",
"exhibitIntro": "这里是属于斗气的世界,没有花俏艳丽的魔法,有的,仅仅是繁衍到巅峰的斗气!",
"exhibitSubjectType": 2,
"tags": ["玄幻", "异世界"],
"coverImages": ["https://image.freelog.com/preview-image/395002835c6ea7980bc9c450737159d599ea880a.jpeg"],
"version": "1.0.1",
"policies": [],
"onlineStatus": 0,
"nodeId": 80000187,
"userId": 50153,
"articleInfo": {
"articleId": "668f7dc29d270a002f4d03f9",
"articleName": "luojiutian/第五章_聚气散",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50145,
"articleOwnerName": "luojiutian"
},
"status": 0,
"createDate": "2024-07-15T06:50:11.984Z",
"updateDate": "2024-07-15T08:16:36.580Z"
}, {
"exhibitId": "668df576fa64bc002f484826",
"exhibitName": "docs-collection",
"exhibitTitle": "docs-collection",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": [],
"coverImages": ["https://image.freelog.com/preview-image/78e5c710bc13c56770094c73d0782f4bca1941a8.jpeg"],
"version": "1.0.0",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000251,
"userId": 50493,
"articleInfo": {
"articleId": "668df50b1fecaf002f40c349",
"articleName": "dj-test/docs-collection",
"resourceType": ["阅读", "文章"],
"articleType": 2,
"serializeStatus": 1,
"articleOwnerId": 50493,
"articleOwnerName": "dj-test"
},
"status": 0,
"createDate": "2024-07-10T02:44:06.800Z",
"updateDate": "2024-07-10T02:44:12.591Z"
}, {
"exhibitId": "668ba694e90d0a002fc48caf",
"exhibitName": "向阳而生",
"exhibitTitle": "向阳而生",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": [],
"coverImages": ["https://image.freelog.com/preview-image/bdb0652c8e9ad59ac8b60bbe9288887314252c30.jpeg"],
"version": "1.0.0",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 0
}, {
"policyId": "d4a2e222f85994e6ad5269765c4cfec2",
"policyName": "永久解锁",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000201,
"userId": 50156,
"articleInfo": {
"articleId": "668ba634f2abab002f53012b",
"articleName": "Nodeconsumer/向阳而生",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50156,
"articleOwnerName": "Nodeconsumer"
},
"status": 0,
"createDate": "2024-07-08T08:43:00.905Z",
"updateDate": "2024-07-08T09:33:44.792Z"
}, {
"exhibitId": "66879202e90d0a002fc46c5f",
"exhibitName": "Vue3源码与原理",
"exhibitTitle": "Vue3源码与原理",
"exhibitIntro": "Vue3源码与原理",
"exhibitSubjectType": 2,
"tags": ["编程", "Vue"],
"coverImages": ["https://image.freelog.com/preview-image/1c47f10e145bc20a699c4d68213fe87acbcd5d28.jpg"],
"version": "0.1.0",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000251,
"userId": 50493,
"articleInfo": {
"articleId": "61b06b7ae4cc45002e663240",
"articleName": "ZhuC/Vue3源码与原理",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50060,
"articleOwnerName": "ZhuC"
},
"status": 0,
"createDate": "2024-07-05T06:26:10.772Z",
"updateDate": "2024-07-05T06:26:19.101Z"
}, {
"exhibitId": "668664cbe90d0a002fc453bb",
"exhibitName": "测试展品授权链异常MD",
"exhibitTitle": "测试展品授权链异常MD",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": [],
"coverImages": ["//static.testfreelog.com/static/default_cover.png"],
"version": "0.1.0",
"policies": [],
"onlineStatus": 0,
"nodeId": 80000161,
"userId": 50145,
"articleInfo": {
"articleId": "620368b3972df6003976c6bb",
"articleName": "chtes/测试展品授权链异常MD",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50022,
"articleOwnerName": "chtes"
},
"status": 0,
"createDate": "2024-07-04T09:00:59.316Z",
"updateDate": "2024-07-04T09:00:59.316Z"
}, {
"exhibitId": "668519a2834594002f35eb63",
"exhibitName": "合集034",
"exhibitTitle": "合集034",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": [],
"coverImages": ["//static.testfreelog.com/static/default_cover.png"],
"version": "1.0.0",
"policies": [],
"onlineStatus": 0,
"nodeId": 80000000,
"userId": 50028,
"articleInfo": {
"articleId": "66851970452377002e168cdc",
"articleName": "12345676789/合集034",
"resourceType": ["阅读", "文章"],
"articleType": 2,
"serializeStatus": 1,
"articleOwnerId": 50028,
"articleOwnerName": "12345676789"
},
"status": 0,
"createDate": "2024-07-03T09:28:02.531Z",
"updateDate": "2024-07-05T03:25:51.969Z"
}, {
"exhibitId": "6675315534f648002f93e4c4",
"exhibitName": "驱魔人",
"exhibitTitle": "驱魔人",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": ["惊悚", "异能", "悬疑", "灵异", "都市", "冒险", "犯罪", "科幻"],
"coverImages": ["https://image.freelog.com/preview-image/83bdeeee6cb3e01c8a39403852326917d4b05599.jpg#x=0&y=1.0714285714285714&r=0&w=120.00000000000001&h=90&width=120&height=150"],
"version": "0.1.1",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000251,
"userId": 50493,
"articleInfo": {
"articleId": "64b4f10df21cc6002f9fead2",
"articleName": "zyconsumer/驱魔人",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50155,
"articleOwnerName": "zyconsumer"
},
"status": 0,
"createDate": "2024-06-21T07:52:53.171Z",
"updateDate": "2024-06-21T07:53:00.474Z"
}, {
"exhibitId": "6673987ccf9929002f7b3d59",
"exhibitName": "啊大大大是",
"exhibitTitle": "啊大大大是",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": [],
"coverImages": ["//static.testfreelog.com/static/default_cover.png"],
"version": "1.0.0",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 1
}, {
"policyId": "2baa280d4b01ec114e9d6b33f8ec5683",
"policyName": "免费30秒支付可用30秒",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000159,
"userId": 50145,
"articleInfo": {
"articleId": "66728fdb6c7248002e95760a",
"articleName": "luojiutian/啊大大大是",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50145,
"articleOwnerName": "luojiutian"
},
"status": 0,
"createDate": "2024-06-20T02:48:28.135Z",
"updateDate": "2024-07-02T09:21:25.052Z"
}, {
"exhibitId": "6672925ecf9929002f7b2c6f",
"exhibitName": "啊大大大是",
"exhibitTitle": "啊大大大是",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": [],
"coverImages": ["//static.testfreelog.com/static/default_cover.png"],
"version": "1.0.0",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000164,
"userId": 50145,
"articleInfo": {
"articleId": "66728fdb6c7248002e95760a",
"articleName": "luojiutian/啊大大大是",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50145,
"articleOwnerName": "luojiutian"
},
"status": 0,
"createDate": "2024-06-19T08:10:06.073Z",
"updateDate": "2024-06-19T08:10:12.943Z"
}, {
"exhibitId": "666aa7bccf9929002f7a81cc",
"exhibitName": "活人禁忌",
"exhibitTitle": "活人禁忌",
"exhibitIntro": "",
"exhibitSubjectType": 2,
"tags": ["玄幻", "悬疑", "灵异", "冒险"],
"coverImages": ["https://image.freelog.com/preview-image/f40ff8bbc3cc7d7c4d777142e9deaa322f77f208.jpeg"],
"version": "1.0.0",
"policies": [{
"policyId": "2665bd4e6e035c9dc0260cf8c7ee01b1",
"policyName": "永久免费",
"status": 1
}],
"onlineStatus": 1,
"nodeId": 80000250,
"userId": 50493,
"articleInfo": {
"articleId": "665ecc9a6c7248002e92c6e9",
"articleName": "Nodeconsumer/活人禁忌",
"resourceType": ["阅读", "文章"],
"articleType": 1,
"serializeStatus": 1,
"articleOwnerId": 50156,
"articleOwnerName": "Nodeconsumer"
},
"status": 0,
"createDate": "2024-06-13T08:03:08.362Z",
"updateDate": "2024-06-13T08:03:20.113Z"
}]
}
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293