Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
9 years ago
Commit
46f2820688b452cdd5008bdd76011f5a02af159a
1 parent
a9f07885
'sharefenhao'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/Plugin/Helpers.php
library/Plugin/Helpers.php
View file @
46f2820
...
...
@@ -383,7 +383,7 @@ class Helpers
$shareUrl
=
explode
(
"?"
,
$articleData
[
'share'
][
'url'
],
2
);
// 分享的链接取链接值
$paramId
=
explode
(
"="
,
$shareUrl
[
1
],
2
);
// 返回的链接取参数值
// 分享链接
$result
[
'share'
]
=
$shareUrl
[
0
]
.
'?openby:yohobuy={"action":"go.share","params":{"title":"'
.
$articleData
[
'title'
]
.
'","content":"'
.
$articleData
[
'intro'
]
.
'","url":"'
.
$articleData
[
'share'
][
'url'
]
.
'","param":
"{"id":"'
.
$paramId
[
1
]
.
'"}"
,"pic":""}}'
;
$result
[
'share'
]
=
$shareUrl
[
0
]
.
'?openby:yohobuy={"action":"go.share","params":{"title":"'
.
$articleData
[
'title'
]
.
'","content":"'
.
$articleData
[
'intro'
]
.
'","url":"'
.
$articleData
[
'share'
][
'url'
]
.
'","param":
{"id":"'
.
$paramId
[
1
]
.
'"}
,"pic":""}}'
;
}
// 判断是否显示作者信息
...
...
Please
register
or
login
to post a comment