Commit a550c278 by pierce

fixed bugs

parent 35a172f1
......@@ -202,8 +202,8 @@ class GDLiveOnlineUserModel: BaseModel {
//
// }.disposed(by: reuseDisposeBag)
//
// // 从第一页请求数据
// self.getOnlineUser(count: "0")
// 从第一页请求数据
self.getOnlineUser(count: "0")
// }
// }
}
......@@ -401,7 +401,7 @@ class GDLiveOnlineUserModel: BaseModel {
guard requestRoomid == GDLiveHelper.shared.roomid.value else { return }
self.parseUserListData(json: json, count: count)
} onError: {[weak self] error in
} onFailure: {[weak self] error in
self?.isLoading = false
}.disposed(by: disposeBag)
......@@ -550,7 +550,6 @@ class GDLiveOnlineUserModel: BaseModel {
if let index = userlist.firstIndex(where: { $0.realuid == realuid }) {
userlist[index].ranknum.accept(rankNum.intValue)
}
// self.userList.accept(userlist)
}).disposed(by: disposeBag)
......@@ -835,7 +834,6 @@ class GDLiveRoleChange: GDSocketModelType {
var cid: Int = 0
var roomid: String?
/// <#Description#>
var guardian : 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