From eb3361c4b38017e2af6580451cf7435dc625ce59 Mon Sep 17 00:00:00 2001 From: hrxiang Date: Mon, 14 Nov 2022 14:28:33 +0800 Subject: [PATCH] Fix bug --- lib/src/models/user_info.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/models/user_info.dart b/lib/src/models/user_info.dart index f4c799d..f3fa3ff 100644 --- a/lib/src/models/user_info.dart +++ b/lib/src/models/user_info.dart @@ -62,6 +62,9 @@ class UserInfo { /// 新消息震动 1:允许,2:否 int? allowVibration; + /// 禁止登录 + int? forbidden; + UserInfo({ this.publicInfo, this.friendInfo, @@ -83,6 +86,7 @@ class UserInfo { this.allowAddFriend, this.allowBeep, this.allowVibration, + this.forbidden, }); // UserInfo.self(Map json) { @@ -125,6 +129,7 @@ class UserInfo { allowAddFriend = json['allowAddFriend']; allowBeep = json['allowBeep']; allowVibration = json['allowVibration']; + forbidden = json['forbidden']; } Map toJson() { @@ -149,6 +154,7 @@ class UserInfo { data['allowAddFriend'] = this.allowAddFriend; data['allowBeep'] = this.allowBeep; data['allowVibration'] = this.allowVibration; + data['forbidden'] = this.forbidden; return data; }