feat: 黑名单查看、屏蔽黑名单用户推荐/最热 #22

This commit is contained in:
guozhigq
2023-08-15 14:43:20 +08:00
parent 1fe234d702
commit eb38dfc313
9 changed files with 306 additions and 3 deletions

View File

@ -0,0 +1,37 @@
class BlackListDataModel {
BlackListDataModel({
this.list,
this.total,
});
List<BlackListItem>? list;
int? total;
BlackListDataModel.fromJson(Map<String, dynamic> json) {
list = json['list']
.map<BlackListItem>((e) => BlackListItem.fromJson(e))
.toList();
total = json['total'];
}
}
class BlackListItem {
BlackListItem({
this.face,
this.mid,
this.mtime,
this.uname,
});
String? face;
int? mid;
int? mtime;
String? uname;
BlackListItem.fromJson(Map<String, dynamic> json) {
face = json['face'];
mid = json['mid'];
mtime = json['mtime'];
uname = json['uname'];
}
}