Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
f6fb4fa7
Commit
f6fb4fa7
authored
Dec 24, 2024
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播间的分享
parent
25520554
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
YHLivePlayerViewController.swift
.../LivestreamSales(直播销售)/C/YHLivePlayerViewController.swift
+14
-2
No files found.
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/C/YHLivePlayerViewController.swift
View file @
f6fb4fa7
...
@@ -442,11 +442,23 @@ class YHLivePlayerViewController: YHBasePlayerViewController {
...
@@ -442,11 +442,23 @@ class YHLivePlayerViewController: YHBasePlayerViewController {
DispatchQueue
.
global
()
.
async
{
DispatchQueue
.
global
()
.
async
{
if
let
url
=
YHShareManager
.
shared
.
createMutilShareUrl
(
type
:
1
,
param
:
[
"LiveID"
:
"106"
])
{
if
let
url
=
YHShareManager
.
shared
.
createMutilShareUrl
(
type
:
1
,
param
:
[
"LiveID"
:
String
(
self
.
liveId
)
])
{
printLog
(
url
)
//for test hjl
printLog
(
url
)
//for test hjl
var
oldUrl
=
liveModel
.
live_h5_url
if
oldUrl
.
contains
(
"?"
)
{
oldUrl
=
oldUrl
+
"&uid=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
"0"
)
"
+
"&fromPlatform=iOS"
+
"&appDeepLink=
\(
url
)
"
}
else
{
oldUrl
=
oldUrl
+
"?uid=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
"0"
)
"
+
"&fromPlatform=iOS"
+
"&appDeepLink=
\(
url
)
"
}
}
// printLog(url.absoluteString)
printLog
(
oldUrl
)
DispatchQueue
.
main
.
async
{
YHShareAlertView
.
show
(
image
:
liveModel
.
live_image
,
title
:
"@"
+
liveModel
.
account
,
subMessage
:
liveModel
.
live_title
,
linkUrl
:
oldUrl
,
isLive
:
true
,
fromAiSale
:
true
)
}
return
}
DispatchQueue
.
main
.
async
{
DispatchQueue
.
main
.
async
{
YHShareAlertView
.
show
(
image
:
liveModel
.
live_image
,
title
:
"@"
+
liveModel
.
account
,
subMessage
:
liveModel
.
live_title
,
linkUrl
:
liveModel
.
live_h5_url
,
isLive
:
true
,
fromAiSale
:
true
)
YHShareAlertView
.
show
(
image
:
liveModel
.
live_image
,
title
:
"@"
+
liveModel
.
account
,
subMessage
:
liveModel
.
live_title
,
linkUrl
:
liveModel
.
live_h5_url
,
isLive
:
true
,
fromAiSale
:
true
)
...
...
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