Fix bug
This commit is contained in:
		
							parent
							
								
									9c5aa56609
								
							
						
					
					
						commit
						eb3361c4b3
					
				@ -62,6 +62,9 @@ class UserInfo {
 | 
				
			|||||||
  /// 新消息震动   1:允许,2:否
 | 
					  /// 新消息震动   1:允许,2:否
 | 
				
			||||||
  int? allowVibration;
 | 
					  int? allowVibration;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /// 禁止登录
 | 
				
			||||||
 | 
					  int? forbidden;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  UserInfo({
 | 
					  UserInfo({
 | 
				
			||||||
    this.publicInfo,
 | 
					    this.publicInfo,
 | 
				
			||||||
    this.friendInfo,
 | 
					    this.friendInfo,
 | 
				
			||||||
@ -83,6 +86,7 @@ class UserInfo {
 | 
				
			|||||||
    this.allowAddFriend,
 | 
					    this.allowAddFriend,
 | 
				
			||||||
    this.allowBeep,
 | 
					    this.allowBeep,
 | 
				
			||||||
    this.allowVibration,
 | 
					    this.allowVibration,
 | 
				
			||||||
 | 
					    this.forbidden,
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // UserInfo.self(Map<String, dynamic> json) {
 | 
					  // UserInfo.self(Map<String, dynamic> json) {
 | 
				
			||||||
@ -125,6 +129,7 @@ class UserInfo {
 | 
				
			|||||||
    allowAddFriend = json['allowAddFriend'];
 | 
					    allowAddFriend = json['allowAddFriend'];
 | 
				
			||||||
    allowBeep = json['allowBeep'];
 | 
					    allowBeep = json['allowBeep'];
 | 
				
			||||||
    allowVibration = json['allowVibration'];
 | 
					    allowVibration = json['allowVibration'];
 | 
				
			||||||
 | 
					    forbidden = json['forbidden'];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  Map<String, dynamic> toJson() {
 | 
					  Map<String, dynamic> toJson() {
 | 
				
			||||||
@ -149,6 +154,7 @@ class UserInfo {
 | 
				
			|||||||
    data['allowAddFriend'] = this.allowAddFriend;
 | 
					    data['allowAddFriend'] = this.allowAddFriend;
 | 
				
			||||||
    data['allowBeep'] = this.allowBeep;
 | 
					    data['allowBeep'] = this.allowBeep;
 | 
				
			||||||
    data['allowVibration'] = this.allowVibration;
 | 
					    data['allowVibration'] = this.allowVibration;
 | 
				
			||||||
 | 
					    data['forbidden'] = this.forbidden;
 | 
				
			||||||
    return data;
 | 
					    return data;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user