Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
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
b4e716bf
authored
Mar 16, 2026
by
suolong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加进入陪伴的接口判断
parent
bbeaa89c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
View file @
b4e716bf
...
@@ -1076,6 +1076,10 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
...
@@ -1076,6 +1076,10 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
[
strongSelf
fus_requestPayRoomPreviewWithUid
:
uid
roomId
:
roomId
channelId
:
channelId
roundId
:
roundId
entryView
:
weakEntryView
];
[
strongSelf
fus_requestPayRoomPreviewWithUid
:
uid
roomId
:
roomId
channelId
:
channelId
roundId
:
roundId
entryView
:
weakEntryView
];
return
;
return
;
}
}
if
(
action
==
FUSPayRoomEntryMainViewActionPrimary
)
{
[
strongSelf
fus_requestPayRoomPayViewingWithUid
:
uid
roomId
:
roomId
channelId
:
channelId
roundId
:
roundId
entryView
:
weakEntryView
];
return
;
}
}];
}];
weakEntryView
=
entryView
;
weakEntryView
=
entryView
;
});
});
...
@@ -1184,6 +1188,33 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
...
@@ -1184,6 +1188,33 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
}];
}];
}
}
-
(
void
)
fus_requestPayRoomPayViewingWithUid
:
(
NSString
*
)
uid
roomId
:
(
NSString
*
)
roomId
channelId
:
(
NSString
*
)
channelId
roundId
:
(
NSString
*
)
roundId
entryView
:
(
FUSPayRoomEntryMainView
*
)
entryView
{
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
FUSPayRoomEntryMainView
*
weakEntryView
=
entryView
;
[
FUSLiveHttpHelper
fus_requestPayRoomPayViewingWithUid
:(
uid
?:
@""
)
RoomId
:(
roomId
?:
@""
)
channelId
:
(
channelId
?:
@""
)
roundId
:
(
roundId
?:
@""
)
succeed
:^
(
NSDictionary
*
dataDict
)
{
__strong
typeof
(
weakSelf
)
strongSelf
=
weakSelf
;
if
(
!
strongSelf
)
{
return
;
}
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
weakEntryView
fus_dismissAnimated
:
YES
];
[
strongSelf
fus_audienceJoinRoomWithRoomId
:(
roomId
?:
@""
)
password
:
@""
behaviorSrc
:
@""
otherInfo
:
nil
];
});
}
failure
:^
(
NSString
*
msg
,
NSInteger
code
)
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
if
(
!
[
NSString
isNull
:
msg
])
{
[
FUSDialogView
fus_showDialog
:
msg
];
}
});
}];
}
/**
/**
将直播间切换为“试看播放态”:
将直播间切换为“试看播放态”:
- 使用 preview 接口返回的 pullUrl 播放
- 使用 preview 接口返回的 pullUrl 播放
...
...
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