Commit a550c278 by pierce

fixed bugs

parent 35a172f1
...@@ -202,8 +202,8 @@ class GDLiveOnlineUserModel: BaseModel { ...@@ -202,8 +202,8 @@ class GDLiveOnlineUserModel: BaseModel {
// //
// }.disposed(by: reuseDisposeBag) // }.disposed(by: reuseDisposeBag)
// //
// // 从第一页请求数据 // 从第一页请求数据
// self.getOnlineUser(count: "0") self.getOnlineUser(count: "0")
// } // }
// } // }
} }
...@@ -401,7 +401,7 @@ class GDLiveOnlineUserModel: BaseModel { ...@@ -401,7 +401,7 @@ class GDLiveOnlineUserModel: BaseModel {
guard requestRoomid == GDLiveHelper.shared.roomid.value else { return } guard requestRoomid == GDLiveHelper.shared.roomid.value else { return }
self.parseUserListData(json: json, count: count) self.parseUserListData(json: json, count: count)
} onError: {[weak self] error in } onFailure: {[weak self] error in
self?.isLoading = false self?.isLoading = false
}.disposed(by: disposeBag) }.disposed(by: disposeBag)
...@@ -550,7 +550,6 @@ class GDLiveOnlineUserModel: BaseModel { ...@@ -550,7 +550,6 @@ class GDLiveOnlineUserModel: BaseModel {
if let index = userlist.firstIndex(where: { $0.realuid == realuid }) { if let index = userlist.firstIndex(where: { $0.realuid == realuid }) {
userlist[index].ranknum.accept(rankNum.intValue) userlist[index].ranknum.accept(rankNum.intValue)
} }
// self.userList.accept(userlist)
}).disposed(by: disposeBag) }).disposed(by: disposeBag)
...@@ -835,7 +834,6 @@ class GDLiveRoleChange: GDSocketModelType { ...@@ -835,7 +834,6 @@ class GDLiveRoleChange: GDSocketModelType {
var cid: Int = 0 var cid: Int = 0
var roomid: String? var roomid: String?
/// <#Description#>
var guardian : String? var guardian : String?
var face: String? var face: String?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment