show dyn pugv

Closes #1064

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-21 20:24:04 +08:00
parent ee142e5e1d
commit 824ee53025
6 changed files with 30 additions and 63 deletions

View File

@@ -953,7 +953,7 @@ class DynamicMajorModel {
// MAJOR_TYPE_ARCHIVE 视频
// MAJOR_TYPE_OPUS 图文/文章
String? type;
Map? courses;
DynamicArchiveModel? courses;
Common? common;
Map? music;
ModuleBlocked? blocked;
@@ -987,7 +987,9 @@ class DynamicMajorModel {
? DynamicNoneModel.fromJson(json['none'])
: null;
type = json['type'];
courses = json['courses'];
courses = json['courses'] == null
? null
: DynamicArchiveModel.fromJson(json['courses']);
common = json['common'] == null ? null : Common.fromJson(json['common']);
music = json['music'];
blocked = json['blocked'] == null