Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
毕凯
2017-06-20 10:03:10 +0800
Commit
e958d70f8af1a32bfd778f408ef78764a6e022d9
2 parents
a274eeaa
8ed33d73
Merge branch 'feature/sitemapErorr' into 'hotfix/detailInfo'
detail error See merge request
!673
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/3party/controllers/sitemap.js
apps/3party/controllers/sitemap.js
View file @
e958d70
...
...
@@ -40,7 +40,7 @@ const itemXmlData = () => {// eslint-disable-line
return
api
.
get
(
''
,
{
method
:
'web.product.bdPromotion'
},
{
cache
:
86400
}).
then
(
res
=>
{
_
.
forEach
(
_
.
get
(
res
,
'data'
,
''
),
val
=>
{
urls
.
push
({
url
:
'https:'
+
helpers
.
urlFormat
(
`
/
product
/
$
{
val
.
i
d
}.
html
`
,
''
,
null
),
url
:
'https:'
+
helpers
.
urlFormat
(
`
/
product
/
$
{
val
.
erpProductI
d
}.
html
`
,
''
,
null
),
changefreq
:
'daily'
,
priority
:
0.3
});
...
...
Please
register
or
login
to post a comment