LiveDetailsBean.ets
1.46 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
import { FullColumnImgUrlDTO } from '../detail/FullColumnImgUrlDTO'
import { ReLInfoDTO } from '../detail/ReLInfoDTO'
import { RmhInfoDTO } from '../detail/RmhInfoDTO'
export interface LiveDetailsBean {
visitorComment: number
newsType: number;
keyArticle: number
liveInfo: LiveInfo
fullColumnImgUrls: Array<FullColumnImgUrlDTO>
newsTitle: string
newsId: string
newIntroduction: string
//迁移id
oldNewsId: string
reLInfo: ReLInfoDTO
rmhInfo: RmhInfoDTO
}
export interface LiveInfo {
//直播新闻-直播状态 wait 待开播 running 直播中 end 已结束cancel已取消paused暂停
liveState: string
//2024-04-12 15:00:00 直播开始时间
planStartTime: string
startTime: string
endTime: string
//直播样式 0-正常模式 , 1-隐藏直播间,2-隐藏大家聊 【人民号发布是竖屏的,为空】
liveStyle: number;
vlive: Array<Vlive>
mlive: MLive
// 背景图片先取这个?
previewUrl: string
}
export interface MLive {
mliveId: string
}
export interface Vlive {
//拉流直播 url
liveUrl: string
//直播回看地址,多路直播录制文件URL
replayUri: string
// 画面兼容 0-横屏流画面,1-竖屏流画面(仅竖屏直播使用)【前端使用, 可能竖屏模式但是直播流画面是横屏流,前端使用该字段】
liveStreamType: number | null
}
export interface joinPeopleNum {
barrageNum: number,
likeNum: number,
liveId: number,
pv: number,
subscribeNum: number
}