mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 04:26:58 +08:00
show co/charging label
fix special dm Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -17,8 +17,8 @@ class HotVideoItemModel extends BaseRecVideoItemModel with MultiSelectData {
|
||||
String? pubLocation;
|
||||
String? pgcLabel;
|
||||
String? redirectUrl;
|
||||
|
||||
num? progress;
|
||||
int? isCooperation;
|
||||
|
||||
HotVideoItemModel.fromJson(Map<String, dynamic> json) {
|
||||
aid = json["aid"];
|
||||
@@ -47,6 +47,7 @@ class HotVideoItemModel extends BaseRecVideoItemModel with MultiSelectData {
|
||||
redirectUrl = json['redirect_url'];
|
||||
// uri = json['uri']; // 仅在稍后再看存在
|
||||
progress = json['progress'];
|
||||
isCooperation = json['rights']?['is_cooperation'];
|
||||
}
|
||||
|
||||
// @override
|
||||
|
||||
@@ -75,6 +75,7 @@ class SearchVideoItemModel extends BaseVideoItemModel {
|
||||
String? arcurl;
|
||||
String? tag;
|
||||
int? ctime;
|
||||
int? isUnionVideo;
|
||||
|
||||
List<({bool isEm, String text})>? titleList;
|
||||
|
||||
@@ -93,6 +94,7 @@ class SearchVideoItemModel extends BaseVideoItemModel {
|
||||
duration = DurationUtil.parseDuration(json['duration']);
|
||||
owner = SearchOwner.fromJson(json);
|
||||
stat = SearchStat.fromJson(json);
|
||||
isUnionVideo = json['is_union_video'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user