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
25520554
Commit
25520554
authored
Dec 24, 2024
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文章分享参数
parent
63fb355c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
YHHomeWebViewController.swift
.../Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
+1
-1
YHShareAlertView.swift
...es/Modules/LivestreamSales(直播销售)/V/YHShareAlertView.swift
+2
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
View file @
25520554
...
@@ -343,7 +343,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
...
@@ -343,7 +343,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
guard
let
data
=
data
,
error
==
nil
else
{
return
}
guard
let
data
=
data
,
error
==
nil
else
{
return
}
let
image
=
UIImage
(
data
:
data
)
let
image
=
UIImage
(
data
:
data
)
if
let
image
=
image
{
if
let
image
=
image
{
let
url
=
self
.
url
+
"&isShare=1"
let
url
=
self
.
url
+
"&isShare=1"
+
"&fromPlatform=iOS"
+
"&uid=
\(
YHLoginManager
.
shared
.
userModel
?
.
id
??
"0"
)
"
+
"&article_id=
\(
self
.
id
)
"
YHShareManager
.
shared
.
sendLinkContent
(
self
.
model
.
title
,
""
,
image
,
link
:
url
)
YHShareManager
.
shared
.
sendLinkContent
(
self
.
model
.
title
,
""
,
image
,
link
:
url
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/V/YHShareAlertView.swift
View file @
25520554
...
@@ -296,7 +296,8 @@ class YHShareAlertView: UIView {
...
@@ -296,7 +296,8 @@ class YHShareAlertView: UIView {
@objc
func
wxClick
()
{
@objc
func
wxClick
()
{
if
fromAiSale
{
if
fromAiSale
{
let
content
=
isLive
?
"
\(
title
)
正在直播中,快来围观吧~"
:
"点击查看详情讲解~"
// let content = isLive ? "\(title)正在直播中,快来围观吧~" : "点击查看详情讲解~"
let
content
=
isLive
?
"分享您一个直播间,快来看看吧~"
:
"点击查看详情讲解~"
YHShareManager
.
shared
.
sendLinkContent
(
subMessage
,
content
,
mainImageView
.
image
??
UIImage
(),
link
:
linkUrl
)
YHShareManager
.
shared
.
sendLinkContent
(
subMessage
,
content
,
mainImageView
.
image
??
UIImage
(),
link
:
linkUrl
)
}
else
{
}
else
{
YHShareManager
.
shared
.
sendLinkContent
(
title
,
subMessage
,
mainImageView
.
image
??
UIImage
(),
link
:
linkUrl
)
YHShareManager
.
shared
.
sendLinkContent
(
title
,
subMessage
,
mainImageView
.
image
??
UIImage
(),
link
:
linkUrl
)
...
...
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