Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
bede65383d08001b20855a2ca1e441bac41035bd
2 parents
a8c6eeae
9a6597ed
Merge branch 'hotfix/mobileRefer' into release/0507
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/mobile-refer.js
doraemon/middleware/mobile-refer.js
View file @
bede653
...
...
@@ -57,7 +57,7 @@ module.exports = () => {
data
.
mobileRefer
=
`
//${domain}/guang?${queryString.stringify(req.query)}`;
}
else
if
(
proRegNew
.
test
(
url
))
{
data
.
mobileRefer
=
url
.
replace
(
proRegNew
,
`
//${domain}/product/$1.html$2`);
}
else
if
(
hotReg
)
{
}
else
if
(
hotReg
.
test
(
url
)
)
{
data
.
mobileRefer
=
`
//${domain}/mip${url}`;
}
...
...
Please
register
or
login
to post a comment