Toggle navigation
Toggle navigation
This project
Loading...
Sign in
YOHOBUY
/
yohobuy-union
·
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
zhengwen.ge
8 years ago
Commit
fde1f50930dfc9984290f776de97a3691624ce9f
1 parent
23ec693e
jump优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
server/src/main/java/com/yoho/unions/server/service/impl/RedirectServiceImpl.java
server/src/main/java/com/yoho/unions/server/service/impl/RedirectServiceImpl.java
View file @
fde1f50
...
...
@@ -136,7 +136,7 @@ public class RedirectServiceImpl implements IRedirectService {
url
=
unionType
.
getGoUrl
();
}
logger
.
info
(
"builderCommonUrl find the channelId={}"
,
channelId
);
logger
.
info
(
"builderCommonUrl find the channelId={}"
,
channelId
);
if
(
StringUtils
.
isBlank
(
url
))
return
""
;
...
...
@@ -146,12 +146,8 @@ public class RedirectServiceImpl implements IRedirectService {
targetUrl
.
append
(
uionReqVO
.
getTracking_code
());
targetUrl
.
append
(
"&append=&go_url="
);
targetUrl
.
append
(
url
);
if
(
targetUrl
.
toString
().
contains
(
"?"
))
{
targetUrl
.
append
(
"&utm_source="
).
append
(
uionReqVO
.
getUtm_source
()).
append
(
"&utm_medium="
).
append
(
uionReqVO
.
getUtm_medium
()).
append
(
"&utm_campaign="
).
append
(
uionReqVO
.
getUtm_campaign
());
}
else
{
targetUrl
.
append
(
"?utm_source="
).
append
(
uionReqVO
.
getUtm_source
()).
append
(
"&utm_medium="
).
append
(
uionReqVO
.
getUtm_medium
()).
append
(
"&utm_campaign="
).
append
(
uionReqVO
.
getUtm_campaign
());
}
targetUrl
.
append
(
"?utm_source="
).
append
(
uionReqVO
.
getUtm_source
()).
append
(
"&utm_medium="
).
append
(
uionReqVO
.
getUtm_medium
()).
append
(
"&utm_campaign="
).
append
(
uionReqVO
.
getUtm_campaign
());
logger
.
info
(
"builderCommonUrl url is {}"
,
targetUrl
.
toString
());
return
targetUrl
.
toString
();
}
...
...
Please
register
or
login
to post a comment