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
周少峰
8 years ago
Commit
ffe3f91a659c999f68d4d570634e43fce7f7e61d
1 parent
7b6e3f83
auto mat
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
apps/3party/controllers/sitemap.js
apps/3party/controllers/sitemap.js
View file @
ffe3f91
...
...
@@ -55,7 +55,7 @@ const listXmlData = () => {// eslint-disable-line
url
:
sub
.
link
,
changefreq
:
'daily'
,
priority
:
0.3
})
})
;
}
_
.
forEach
(
_
.
get
(
sub
,
'thirdNav'
),
third
=>
{
if
(
listPatten
.
test
(
third
.
link
))
{
...
...
@@ -63,11 +63,11 @@ const listXmlData = () => {// eslint-disable-line
url
:
third
.
link
,
changefreq
:
'daily'
,
priority
:
0.3
})
})
;
}
})
})
})
});
});
});
return
_
.
union
(
result
[
0
],
_
.
uniqBy
(
listNav
,
'url'
));
});
...
...
Please
register
or
login
to post a comment