@x-edu/live-player 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-edu/live-player",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "main": "dist/XEduLivePlayer.common.js",
5
5
  "scripts": {
6
6
  "start": "cross-env SDP_ENV=local gms dev",
@@ -33,10 +33,10 @@ export default function Action({
33
33
  // 如果超过了开播时间,不管有没有预约,都直接进入直播
34
34
  const now = new Date().getTime()
35
35
  const begin = new Date(beginTime).getTime()
36
- // if (now > begin) {
37
- // actionNum = 1
38
- // return actionNum
39
- // }
36
+ if (now > begin) {
37
+ actionNum = 1
38
+ return actionNum
39
+ }
40
40
  // 开播前15分钟,只提供进入直播按钮
41
41
  if (begin > now && (begin - now) < 15 * 60 * 1000) {
42
42
  actionNum = 1
@@ -33,20 +33,10 @@ export default function ListItem({
33
33
  live_id: liveId,
34
34
  live_name: liveName,
35
35
  begin_time: beginTime,
36
- end_time: endTime,
36
+ // end_time: endTime,
37
37
  cover_url: coverUrl,
38
-
38
+ status
39
39
  } = data
40
-
41
- const [status]=useState(()=>{
42
- if (beginTime && dayjs().valueOf() - dayjs(beginTime).valueOf() < 0) {
43
- return 0
44
- }
45
- if (endTime && dayjs().valueOf() - dayjs(endTime).valueOf() < 0) {
46
- return 1
47
- }
48
- return 2
49
- })
50
40
  const [liveExt, setLiveExt] = useState({})
51
41
  const [isSubscribe, setIsSubscribe] = useState(() => {
52
42
  if (status===0) {
@@ -114,19 +104,18 @@ export default function ListItem({
114
104
  </div>
115
105
  </div>
116
106
  </div>
117
- {status === 0
118
- ? (
119
- <Action
120
- data={data}
121
- subscription={subscription}
122
- onActionDetailClick={handleDetailClick}
123
- handleLogin={handleLogin}
124
- isLogin={isLogin}
125
- onSubscribe={onSubscribe}
126
- setIsSubscribe={setIsSubscribe}
127
- status={status}
128
- />
129
- ) : ''}
107
+
108
+ <Action
109
+ data={data}
110
+ subscription={subscription}
111
+ onActionDetailClick={handleDetailClick}
112
+ handleLogin={handleLogin}
113
+ isLogin={isLogin}
114
+ onSubscribe={onSubscribe}
115
+ setIsSubscribe={setIsSubscribe}
116
+ status={status}
117
+ />
118
+
130
119
  </div>
131
120
  </div>
132
121
  <div className={style.left}>
@@ -70,13 +70,550 @@ export default function PublicLiveList({
70
70
  useEffect(() => {
71
71
  async function getList() {
72
72
  setLoading(true)
73
- const data = await OpenLiveSearchFront({
74
- status,
75
- scopeType,
76
- scopeId,
77
- offset: (page - 1) * PageSize,
78
- limit: PageSize
79
- })
73
+ // const data = await OpenLiveSearchFront({
74
+ // status,
75
+ // scopeType,
76
+ // scopeId,
77
+ // offset: (page - 1) * PageSize,
78
+ // limit: PageSize
79
+ // })
80
+ const data = {
81
+ "count": 11,
82
+ "items": [
83
+ {
84
+ "live_id": "30d8726d-f4ee-452f-8266-af898555d27b",
85
+ "live_name": "吴清沨名师工作室直播测试1",
86
+ "lecture_user_id": 452543825909,
87
+ "lecture_user_name": "程琴大号",
88
+ "begin_time": "2023-11-20T19:00:00.000+0800",
89
+ "end_time": "2023-11-20T23:00:00.000+0800",
90
+ "duration": null,
91
+ "status": 0,
92
+ "type": 1,
93
+ "view_replay": 1,
94
+ "replay_url": null,
95
+ "provide_record": 0,
96
+ "conference_id": "286102851",
97
+ "room_id": "65573a9ecd42c0001172375c",
98
+ "chat_room_id": "6042256",
99
+ "chat_room_convid": "4617269338473294294",
100
+ "chat_enabled": false,
101
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240218393542657?qrEventName=smartlink",
102
+ "sub_type": 1,
103
+ "video_url": null,
104
+ "tenant_id": 416,
105
+ "login": false,
106
+ "description": null,
107
+ "desc_pic_web_url": null,
108
+ "desc_pic_mobile_url": null,
109
+ "cover_url": "https://bdcs-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/%E8%AF%BE%E7%A8%8B%E5%B0%81%E9%9D%A2-%E6%80%9D%E6%83%B3%E9%93%B8%E9%AD%82_1685342669000_1700215253549.png",
110
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%B0%81%E9%9D%A2_1700215325058.png",
111
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%B0%81%E9%9D%A2_1700215328467.png",
112
+ "create_user_id": 452543769209,
113
+ "create_time": "2023-11-17T18:04:16.000+0800",
114
+ "first_begin_time": null,
115
+ "scope_type": "e_teacher_studio",
116
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
117
+ "scope_name": "吴清沨名师工作室",
118
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
119
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
120
+ "env": "test",
121
+ "chat_type": false,
122
+ "discuss_chat_type": false,
123
+ "comment_chat_room_id": null,
124
+ "comment_chat_room_convid": null,
125
+ "message_interval": 5,
126
+ "bid": null,
127
+ "replay_begin_time": "2023-11-21T00:00:00.000+0800",
128
+ "replay_end_time": null,
129
+ "view_replay_type": 0,
130
+ "view_replay_name": null,
131
+ "view_replay_url": null,
132
+ "create_user_user_facade": {
133
+ "user_id": 452543769209,
134
+ "user_name": "吴清沨",
135
+ "nick_name": null,
136
+ "nick_name_full": null,
137
+ "nick_name_short": null,
138
+ "create_time": "2022-04-15T23:08:41.341+0800",
139
+ "org_exinfo": {
140
+ "node_id": 0,
141
+ "node_name": "",
142
+ "org_id": 594001860704,
143
+ "org_name": null,
144
+ "org_full_name": null,
145
+ "org_user_code": "",
146
+ "real_name": "吴清沨",
147
+ "real_name_full": "wuqingfeng",
148
+ "real_name_short": "wqf"
149
+ },
150
+ "email": null,
151
+ "mobile": null,
152
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543769209/avatar_url?size=80",
153
+ "display_name": "吴清沨",
154
+ "display_real_name": "吴清沨",
155
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543769209/avatar_url?size=80",
156
+ "existed": true
157
+ }
158
+ },
159
+ {
160
+ "live_id": "ce5ddade-9160-4352-90ea-28123d98022f",
161
+ "live_name": "陈美-推流测试",
162
+ "lecture_user_id": null,
163
+ "lecture_user_name": "陈老师",
164
+ "begin_time": "2023-11-19T18:44:00.000+0800",
165
+ "end_time": "2023-11-19T19:00:00.000+0800",
166
+ "duration": null,
167
+ "status": 1,
168
+ "type": 1,
169
+ "view_replay": 1,
170
+ "replay_url": "https://basic.smartedu.cn/",
171
+ "provide_record": 2,
172
+ "conference_id": null,
173
+ "room_id": null,
174
+ "chat_room_id": "6043313",
175
+ "chat_room_convid": "4617185775589584394",
176
+ "chat_enabled": false,
177
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240585204334593?qrEventName=smartlink",
178
+ "sub_type": 2,
179
+ "video_url": null,
180
+ "tenant_id": 416,
181
+ "login": false,
182
+ "description": null,
183
+ "desc_pic_web_url": null,
184
+ "desc_pic_mobile_url": null,
185
+ "cover_url": null,
186
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/2022.12.16_%E9%99%88%E7%BE%8E&ba73b3ae34733a8f533d8a670590113c_1700390349311.png",
187
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/2022.12.16_%E9%99%88%E7%BE%8E&ba73b3ae34733a8f533d8a670590113c_1700390352668.png",
188
+ "create_user_id": 452543891320,
189
+ "create_time": "2023-11-19T18:39:25.000+0800",
190
+ "first_begin_time": null,
191
+ "scope_type": "e_teacher_studio",
192
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
193
+ "scope_name": "吴清沨名师工作室",
194
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
195
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
196
+ "env": "test",
197
+ "chat_type": false,
198
+ "discuss_chat_type": false,
199
+ "comment_chat_room_id": null,
200
+ "comment_chat_room_convid": null,
201
+ "message_interval": 5,
202
+ "bid": 25307027,
203
+ "replay_begin_time": null,
204
+ "replay_end_time": null,
205
+ "view_replay_type": 2,
206
+ "view_replay_name": null,
207
+ "view_replay_url": null,
208
+ "create_user_user_facade": {
209
+ "user_id": 452543891320,
210
+ "user_name": "陈美",
211
+ "nick_name": "",
212
+ "nick_name_full": "",
213
+ "nick_name_short": "",
214
+ "create_time": "2022-04-21T16:02:44.123+0800",
215
+ "org_exinfo": {
216
+ "node_id": 0,
217
+ "node_name": "",
218
+ "org_id": 594001860704,
219
+ "org_name": null,
220
+ "org_full_name": null,
221
+ "org_user_code": "",
222
+ "real_name": "陈美",
223
+ "real_name_full": "chenmei",
224
+ "real_name_short": "cm"
225
+ },
226
+ "email": null,
227
+ "mobile": null,
228
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
229
+ "display_name": "陈美",
230
+ "display_real_name": "陈美",
231
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
232
+ "existed": true
233
+ }
234
+ },
235
+ {
236
+ "live_id": "1b182286-0f4e-4b3d-9023-d8a90a2b6a95",
237
+ "live_name": "预约直播4",
238
+ "lecture_user_id": null,
239
+ "lecture_user_name": "张",
240
+ "begin_time": "2023-11-17T17:59:00.000+0800",
241
+ "end_time": "2023-11-17T18:13:17.000+0800",
242
+ "duration": 856,
243
+ "status": 2,
244
+ "type": 2,
245
+ "view_replay": 1,
246
+ "replay_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
247
+ "provide_record": 2,
248
+ "conference_id": null,
249
+ "room_id": null,
250
+ "chat_room_id": "6042220",
251
+ "chat_room_convid": "4617220959961672106",
252
+ "chat_enabled": false,
253
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240212538327042?qrEventName=smartlink",
254
+ "sub_type": 1,
255
+ "video_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
256
+ "tenant_id": 416,
257
+ "login": false,
258
+ "description": null,
259
+ "desc_pic_web_url": null,
260
+ "desc_pic_mobile_url": null,
261
+ "cover_url": null,
262
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/3_1700212647343.jpg",
263
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/3_1700212649290.png",
264
+ "create_user_id": 452543891320,
265
+ "create_time": "2023-11-17T17:17:45.000+0800",
266
+ "first_begin_time": null,
267
+ "scope_type": "e_teacher_studio",
268
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
269
+ "scope_name": "吴清沨名师工作室",
270
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
271
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
272
+ "env": "test",
273
+ "chat_type": false,
274
+ "discuss_chat_type": false,
275
+ "comment_chat_room_id": null,
276
+ "comment_chat_room_convid": null,
277
+ "message_interval": 5,
278
+ "bid": null,
279
+ "replay_begin_time": null,
280
+ "replay_end_time": null,
281
+ "view_replay_type": 0,
282
+ "view_replay_name": null,
283
+ "view_replay_url": null,
284
+ "create_user_user_facade": {
285
+ "user_id": 452543891320,
286
+ "user_name": "陈美",
287
+ "nick_name": "",
288
+ "nick_name_full": "",
289
+ "nick_name_short": "",
290
+ "create_time": "2022-04-21T16:02:44.123+0800",
291
+ "org_exinfo": {
292
+ "node_id": 0,
293
+ "node_name": "",
294
+ "org_id": 594001860704,
295
+ "org_name": null,
296
+ "org_full_name": null,
297
+ "org_user_code": "",
298
+ "real_name": "陈美",
299
+ "real_name_full": "chenmei",
300
+ "real_name_short": "cm"
301
+ },
302
+ "email": null,
303
+ "mobile": null,
304
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
305
+ "display_name": "陈美",
306
+ "display_real_name": "陈美",
307
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
308
+ "existed": true
309
+ }
310
+ },
311
+ {
312
+ "live_id": "0a3e44c6-c9ba-47ea-b60a-d224085ad6d5",
313
+ "live_name": "预约直播测试3",
314
+ "lecture_user_id": null,
315
+ "lecture_user_name": "林老师",
316
+ "begin_time": "2023-11-17T17:40:00.000+0800",
317
+ "end_time": "2023-11-17T17:54:17.000+0800",
318
+ "duration": 856,
319
+ "status": 2,
320
+ "type": 2,
321
+ "view_replay": 1,
322
+ "replay_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
323
+ "provide_record": 2,
324
+ "conference_id": null,
325
+ "room_id": null,
326
+ "chat_room_id": "6042218",
327
+ "chat_room_convid": "4617218760938416552",
328
+ "chat_enabled": false,
329
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240211999326209?qrEventName=smartlink",
330
+ "sub_type": 1,
331
+ "video_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
332
+ "tenant_id": 416,
333
+ "login": false,
334
+ "description": null,
335
+ "desc_pic_web_url": null,
336
+ "desc_pic_mobile_url": null,
337
+ "cover_url": "https://bdcs-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/15_1700212402198.jpg",
338
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/2_1700212396937.jpg",
339
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/9_1700212398956.jpg",
340
+ "create_user_id": 452543891320,
341
+ "create_time": "2023-11-17T17:13:27.000+0800",
342
+ "first_begin_time": null,
343
+ "scope_type": "e_teacher_studio",
344
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
345
+ "scope_name": "吴清沨名师工作室",
346
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
347
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
348
+ "env": "test",
349
+ "chat_type": false,
350
+ "discuss_chat_type": false,
351
+ "comment_chat_room_id": null,
352
+ "comment_chat_room_convid": null,
353
+ "message_interval": 5,
354
+ "bid": null,
355
+ "replay_begin_time": null,
356
+ "replay_end_time": null,
357
+ "view_replay_type": 0,
358
+ "view_replay_name": null,
359
+ "view_replay_url": null,
360
+ "create_user_user_facade": {
361
+ "user_id": 452543891320,
362
+ "user_name": "陈美",
363
+ "nick_name": "",
364
+ "nick_name_full": "",
365
+ "nick_name_short": "",
366
+ "create_time": "2022-04-21T16:02:44.123+0800",
367
+ "org_exinfo": {
368
+ "node_id": 0,
369
+ "node_name": "",
370
+ "org_id": 594001860704,
371
+ "org_name": null,
372
+ "org_full_name": null,
373
+ "org_user_code": "",
374
+ "real_name": "陈美",
375
+ "real_name_full": "chenmei",
376
+ "real_name_short": "cm"
377
+ },
378
+ "email": null,
379
+ "mobile": null,
380
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
381
+ "display_name": "陈美",
382
+ "display_real_name": "陈美",
383
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
384
+ "existed": true
385
+ }
386
+ },
387
+ {
388
+ "live_id": "8a42343a-a060-41ef-a058-22af1c2e7534",
389
+ "live_name": "预约直播1",
390
+ "lecture_user_id": null,
391
+ "lecture_user_name": "张老师",
392
+ "begin_time": "2023-11-17T17:20:00.000+0800",
393
+ "end_time": "2023-11-17T17:34:17.000+0800",
394
+ "duration": 856,
395
+ "status": 2,
396
+ "type": 2,
397
+ "view_replay": 1,
398
+ "replay_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
399
+ "provide_record": 2,
400
+ "conference_id": null,
401
+ "room_id": null,
402
+ "chat_room_id": "6042216",
403
+ "chat_room_convid": "4617206666310511005",
404
+ "chat_enabled": false,
405
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240210426494980?qrEventName=smartlink",
406
+ "sub_type": 1,
407
+ "video_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
408
+ "tenant_id": 416,
409
+ "login": false,
410
+ "description": null,
411
+ "desc_pic_web_url": null,
412
+ "desc_pic_mobile_url": null,
413
+ "cover_url": "https://bdcs-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/21_1700211649821.jpg",
414
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/1_1700211642536.jpg",
415
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/18_1700211645081.jpg",
416
+ "create_user_id": 452543891320,
417
+ "create_time": "2023-11-17T17:00:58.000+0800",
418
+ "first_begin_time": null,
419
+ "scope_type": "e_teacher_studio",
420
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
421
+ "scope_name": "吴清沨名师工作室",
422
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
423
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
424
+ "env": "test",
425
+ "chat_type": false,
426
+ "discuss_chat_type": false,
427
+ "comment_chat_room_id": null,
428
+ "comment_chat_room_convid": null,
429
+ "message_interval": 5,
430
+ "bid": null,
431
+ "replay_begin_time": null,
432
+ "replay_end_time": null,
433
+ "view_replay_type": 0,
434
+ "view_replay_name": null,
435
+ "view_replay_url": null,
436
+ "create_user_user_facade": {
437
+ "user_id": 452543891320,
438
+ "user_name": "陈美",
439
+ "nick_name": "",
440
+ "nick_name_full": "",
441
+ "nick_name_short": "",
442
+ "create_time": "2022-04-21T16:02:44.123+0800",
443
+ "org_exinfo": {
444
+ "node_id": 0,
445
+ "node_name": "",
446
+ "org_id": 594001860704,
447
+ "org_name": null,
448
+ "org_full_name": null,
449
+ "org_user_code": "",
450
+ "real_name": "陈美",
451
+ "real_name_full": "chenmei",
452
+ "real_name_short": "cm"
453
+ },
454
+ "email": null,
455
+ "mobile": null,
456
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
457
+ "display_name": "陈美",
458
+ "display_real_name": "陈美",
459
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
460
+ "existed": true
461
+ }
462
+ },
463
+ {
464
+ "live_id": "9d2f150c-6cb3-4c52-87e1-b816398478c1",
465
+ "live_name": "1102测试相同时间2",
466
+ "lecture_user_id": 452651419426,
467
+ "lecture_user_name": "魏彤妍",
468
+ "begin_time": "2023-11-02T11:10:00.000+0800",
469
+ "end_time": "2023-11-02T11:40:00.000+0800",
470
+ "duration": null,
471
+ "status": 2,
472
+ "type": 1,
473
+ "view_replay": 0,
474
+ "replay_url": null,
475
+ "provide_record": 2,
476
+ "conference_id": "432971706",
477
+ "room_id": "6543102bcd42c0001171e356",
478
+ "chat_room_id": "6040301",
479
+ "chat_room_convid": "4617271537496547672",
480
+ "chat_enabled": false,
481
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/237446822494209?qrEventName=smartlink",
482
+ "sub_type": 1,
483
+ "video_url": "https://cdncs.ykt.cbern.com.cn/v0.1/download?path=/xxuexiimbr/replays/25306345_1698894971152.mp4",
484
+ "tenant_id": 416,
485
+ "login": false,
486
+ "description": null,
487
+ "desc_pic_web_url": null,
488
+ "desc_pic_mobile_url": null,
489
+ "cover_url": null,
490
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105534_1698893852269.jpg",
491
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105534_1698893858258.jpg",
492
+ "create_user_id": 452651419426,
493
+ "create_time": "2023-11-02T10:57:48.000+0800",
494
+ "first_begin_time": null,
495
+ "scope_type": "e_teacher_studio",
496
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
497
+ "scope_name": "吴清沨名师工作室",
498
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
499
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
500
+ "env": "test",
501
+ "chat_type": false,
502
+ "discuss_chat_type": false,
503
+ "comment_chat_room_id": null,
504
+ "comment_chat_room_convid": null,
505
+ "message_interval": 5,
506
+ "bid": null,
507
+ "replay_begin_time": null,
508
+ "replay_end_time": null,
509
+ "view_replay_type": 0,
510
+ "view_replay_name": null,
511
+ "view_replay_url": null,
512
+ "create_user_user_facade": {
513
+ "user_id": 452651419426,
514
+ "user_name": "魏彤妍",
515
+ "nick_name": null,
516
+ "nick_name_full": null,
517
+ "nick_name_short": null,
518
+ "create_time": "2023-02-13T10:14:53.126+0800",
519
+ "org_exinfo": {
520
+ "node_id": 0,
521
+ "node_name": "",
522
+ "org_id": 594001860704,
523
+ "org_name": null,
524
+ "org_full_name": null,
525
+ "org_user_code": "",
526
+ "real_name": "魏彤妍",
527
+ "real_name_full": "weitongyan",
528
+ "real_name_short": "wty"
529
+ },
530
+ "email": null,
531
+ "mobile": null,
532
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
533
+ "display_name": "魏彤妍",
534
+ "display_real_name": "魏彤妍",
535
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
536
+ "existed": true
537
+ }
538
+ },
539
+ {
540
+ "live_id": "32a81b78-5598-494a-865a-e17a6d606c44",
541
+ "live_name": "1102测试相同时间",
542
+ "lecture_user_id": 452651419426,
543
+ "lecture_user_name": "魏彤妍",
544
+ "begin_time": "2023-11-02T11:01:00.000+0800",
545
+ "end_time": "2023-11-02T11:30:00.000+0800",
546
+ "duration": null,
547
+ "status": 2,
548
+ "type": 1,
549
+ "view_replay": 0,
550
+ "replay_url": null,
551
+ "provide_record": 0,
552
+ "conference_id": "267959980",
553
+ "room_id": "65430fddcd42c0001171e351",
554
+ "chat_room_id": "6040299",
555
+ "chat_room_convid": "4617260542380269902",
556
+ "chat_enabled": false,
557
+ "play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/237446661013505?qrEventName=smartlink",
558
+ "sub_type": 1,
559
+ "video_url": null,
560
+ "tenant_id": 416,
561
+ "login": false,
562
+ "description": null,
563
+ "desc_pic_web_url": null,
564
+ "desc_pic_mobile_url": null,
565
+ "cover_url": null,
566
+ "cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105523_1698893776035.jpg",
567
+ "cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105523_1698893779458.jpg",
568
+ "create_user_id": 452651419426,
569
+ "create_time": "2023-11-02T10:56:32.000+0800",
570
+ "first_begin_time": null,
571
+ "scope_type": "e_teacher_studio",
572
+ "scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
573
+ "scope_name": "吴清沨名师工作室",
574
+ "scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
575
+ "scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
576
+ "env": "test",
577
+ "chat_type": false,
578
+ "discuss_chat_type": false,
579
+ "comment_chat_room_id": null,
580
+ "comment_chat_room_convid": null,
581
+ "message_interval": 5,
582
+ "bid": null,
583
+ "replay_begin_time": null,
584
+ "replay_end_time": null,
585
+ "view_replay_type": 0,
586
+ "view_replay_name": null,
587
+ "view_replay_url": null,
588
+ "create_user_user_facade": {
589
+ "user_id": 452651419426,
590
+ "user_name": "魏彤妍",
591
+ "nick_name": null,
592
+ "nick_name_full": null,
593
+ "nick_name_short": null,
594
+ "create_time": "2023-02-13T10:14:53.126+0800",
595
+ "org_exinfo": {
596
+ "node_id": 0,
597
+ "node_name": "",
598
+ "org_id": 594001860704,
599
+ "org_name": null,
600
+ "org_full_name": null,
601
+ "org_user_code": "",
602
+ "real_name": "魏彤妍",
603
+ "real_name_full": "weitongyan",
604
+ "real_name_short": "wty"
605
+ },
606
+ "email": null,
607
+ "mobile": null,
608
+ "avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
609
+ "display_name": "魏彤妍",
610
+ "display_real_name": "魏彤妍",
611
+ "icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
612
+ "existed": true
613
+ }
614
+ }
615
+ ]
616
+ }
80
617
  const { items, count } = data
81
618
  if (uc) {
82
619
  const curIsLogin = await uc.isLogin()