实时数据:移除观众、礼物列表(会卡,懒得修了)

修复直播状态无法判断
This commit is contained in:
2022-04-12 12:40:54 +08:00
parent f164172bcf
commit 8dff5bf7bf
2 changed files with 11 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
package com.yutou.bilibili.mybatis.Bili.mybatis.model;
import java.io.Serializable;
import com.yutou.bilibili.BiliBili.LiveUtils;
import lombok.Data;
/**
@@ -40,4 +42,9 @@ public class BilibiliUpInfo implements Serializable {
private Integer savelive=0;
private static final long serialVersionUID = 1L;
public Integer getLive() {
live= LiveUtils.getLiveState(roomid)?1:0;
return live;
}
}