Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-05 14:21:59 +08:00
parent c226f8f6df
commit 5a0b045a1f
14 changed files with 232 additions and 71 deletions

View File

@@ -159,6 +159,8 @@ class ItemModulesModel {
// 动态
ModuleDynamicModel? moduleDynamic;
// ModuleInterModel? moduleInter;
ModuleInteraction? moduleInteraction;
ModuleDispute? moduleDispute;
// 专栏
ModuleTop? moduleTop;
@@ -167,7 +169,6 @@ class ItemModulesModel {
List<ArticleContentModel>? moduleContent;
ModuleBlocked? moduleBlocked;
ModuleFold? moduleFold;
ModuleInteraction? moduleInteraction;
ItemModulesModel.fromJson(Map<String, dynamic> json) {
moduleAuthor = json['module_author'] != null
@@ -188,6 +189,9 @@ class ItemModulesModel {
moduleInteraction = json['module_interaction'] != null
? ModuleInteraction.fromJson(json['module_interaction'])
: null;
moduleDispute = json['module_dispute'] != null
? ModuleDispute.fromJson(json['module_dispute'])
: null;
}
ItemModulesModel.fromOpusJson(List json) {
@@ -238,6 +242,18 @@ class ItemModulesModel {
}
}
class ModuleDispute {
String? title;
String? desc;
String? jumpUrl;
ModuleDispute.fromJson(Map<String, dynamic> json) {
title=json['title'];
desc=json['desc'];
jumpUrl=json['jump_url'];
}
}
class ModuleInteraction {
List<ModuleInteractionItem>? items;