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
yyq
8 years ago
Commit
76b8b3601eb7d68069e73107d7636988c712fedb
1 parent
8ec461da
search seo
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
apps/product/controllers/search.js
apps/product/controllers/search.js
View file @
76b8b36
...
...
@@ -42,11 +42,14 @@ const index = (req, res, next) => {
return
res
.
render
(
'search/no-result'
,
resData
);
}
Object
.
assign
(
resData
,
{
title
:
`
$
{
queryKey
}
价格
_
图片
_
品牌
_
怎么样
-
YOHO
!
BUY
有货`
,
keywords
:
`
$
{
queryKey
},
$
{
queryKey
}
价格
,
$
{
queryKey
}
图片
,
$
{
queryKey
}
怎么样
,
$
{
queryKey
}
品牌
,
YOHO
!
BUY
有货`
,
description
:
`
YOHO
!
BUY
有货网
yohobuy
.
com
是国内专业的
$
{
queryKey
}
网上潮流购物商城
,
为您找到
$
{
_
.
get
(
resData
,
'search.totalCount'
,
0
)}
条
$
{
queryKey
}
、产品的详细参数
,
实时报价
,
价格行情
,
图片、评价、品牌等信息。买
$
{
queryKey
},
就上
YOHO
!
BUY
有货`
// eslint-disable-line
});
if
(
queryKey
)
{
Object
.
assign
(
resData
,
{
title
:
`
$
{
queryKey
}
价格
_
图片
_
品牌
_
怎么样
-
YOHO
!
BUY
有货`
,
keywords
:
`
$
{
queryKey
},
$
{
queryKey
}
价格
,
$
{
queryKey
}
图片
,
$
{
queryKey
}
怎么样
,
$
{
queryKey
}
品牌
,
YOHO
!
BUY
有货`
,
description
:
`
YOHO
!
BUY
有货网
yohobuy
.
com
是国内专业的
$
{
queryKey
}
网上潮流购物商城
,
为您找到
$
{
_
.
get
(
resData
,
'search.totalCount'
,
0
)}
条
$
{
queryKey
}
、产品的详细参数
,
实时报价
,
价格行情
,
图片、评价、品牌等信息。买
$
{
queryKey
},
就上
YOHO
!
BUY
有货`
// eslint-disable-line
});
}
res
.
render
(
'search/index'
,
resData
);
});
...
...
Please
register
or
login
to post a comment