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
Email Patches
Plain Diff
Browse Files
Authored by
李奇
7 years ago
Commit
1b88d4503f0f5fa8a8bf56c9c68bf13a50fe42f6
1 parent
b51b40db
添加链接判断
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/controllers/list.js
apps/product/controllers/list.js
View file @
1b88d45
...
...
@@ -27,7 +27,7 @@ exports.index = (req, res, next) => {
let
qs
=
''
;
if
(
req
.
originalUrl
&&
req
.
originalUrl
.
indexOf
(
'.html'
)
<
0
&&
!
_
.
isEmpty
(
req
.
query
))
{
req
.
originalUrl
.
indexOf
(
'?'
)
<
0
&&
!
_
.
isEmpty
(
req
.
query
))
{
let
rUrl
=
handleFilterUrl
(
'/list'
,
req
.
query
);
if
(
rUrl
!==
req
.
originalUrl
)
{
...
...
Please
register
or
login
to post a comment