Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
iOSTeam
/
Majiabao
/
TealiveModule
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a550c278
authored
May 21, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs
parent
35a172f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
Module/GDShowRoomModule/GDShowRoomModule/Features/Audience/Model/GDLiveOnlineUserModel.swift
Module/GDShowRoomModule/GDShowRoomModule/Features/Audience/Model/GDLiveOnlineUserModel.swift
View file @
a550c278
...
@@ -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
)
}
on
Error
:
{[
weak
self
]
error
in
}
on
Failure
:
{[
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
?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment