Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node-activity
·
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
邱骏
6 years ago
Commit
5a21b2ff8c4612029385345740db0eecccc21db2
1 parent
f59e7e14
跳转登录页面地址栏加&no_openapp=1, 不跳转app
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
public/js/activity/feature/yo-sdk.js
public/js/activity/feature/yo-sdk.js
View file @
5a21b2f
...
...
@@ -95,14 +95,14 @@ let loginUrl = function() {
}
});
}
else
if
(
enviroment
===
'pc'
)
{
url
=
'https://www.yoho/signin.html?refer='
+
encodeURIComponent
(
location
.
href
);
url
=
'https://www.yoho
buy.com
/signin.html?refer='
+
encodeURIComponent
(
location
.
href
);
}
else
if
(
enviroment
===
'miniprogram'
)
{
url
=
'/pages/userCenter/userCenter'
;
}
else
{
if
(
refer
.
indexOf
(
'?'
)
<
0
)
{
refer
+=
'?skcall=1'
;
refer
+=
'?skcall=1
&no_openapp=1
'
;
}
else
{
refer
+=
'&skcall=1'
;
refer
+=
'&skcall=1
&no_openapp=1
'
;
}
url
=
'http://m.yohobuy.com/signin.html?refer='
+
encodeURIComponent
(
refer
);
}
...
...
Please
register
or
login
to post a comment