opt: unify fav & coin of video & pgc (#916)

This commit is contained in:
My-Responsitories
2025-07-31 20:16:42 +08:00
committed by GitHub
parent e945daba3a
commit 05c9269531
15 changed files with 194 additions and 316 deletions

View File

@@ -56,7 +56,7 @@ class PgcInfoModel {
int? showSeasonType;
String? squareCover;
String? staff;
Stat? stat;
PgcStat? stat;
int? status;
List? styles;
String? subtitle;
@@ -187,7 +187,7 @@ class PgcInfoModel {
staff: json['staff'] as String?,
stat: json['stat'] == null
? null
: Stat.fromJson(json['stat'] as Map<String, dynamic>),
: PgcStat.fromJson(json['stat'] as Map<String, dynamic>),
status: json['status'] as int?,
styles: json['styles'],
subtitle: json['subtitle'] as String?,