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-08-18 16:48:13 +0800
Commit
60f0a4824d14302061a4104308c9129571dbbe42
2 parents
21ec3c06
85ca2b72
Merge branch 'hotfix/keyPage' into 'release/6.0.1'
cononical href See merge request
!818
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
apps/product/controllers/search.js
doraemon/views/layout.hbs
apps/product/controllers/search.js
View file @
60f0a48
...
...
@@ -338,7 +338,10 @@ const keyId = (req, res, next) => {
keywords
:
`
$
{
queryKey
},
$
{
queryKey
}
价格
,
$
{
queryKey
}
图片
,
$
{
queryKey
}
怎么样
,
$
{
queryKey
}
品牌
,
YOHO
!
BUY
有货`
,
description
:
`
YOHO
!
BUY
有货网
yohobuy
.
com
是国内专业的
$
{
queryKey
}
网上潮流购物商城
,
为您找到
$
{
_
.
get
(
result
,
'total'
,
0
)}
条
$
{
queryKey
}
、产品的详细参数
,
实时报价
,
价格行情
,
图片、评价、品牌等信息。买
$
{
queryKey
},
就上
YOHO
!
BUY
有货`
,
pageFooter
:
true
pageFooter
:
true
,
cononical
:
{
currentHref
:
helpers
.
urlFormat
(
req
.
originalUrl
,
null
,
'www'
)
}
});
}).
catch
(
next
);
};
...
...
doraemon/views/layout.hbs
View file @
60f0a48
...
...
@@ -12,6 +12,7 @@
<meta
content=
"email=no"
name=
"format-detection"
/>
<meta
name=
"referrer"
content=
"always"
>
{{#
cononical
}}
<meta
name=
"applicable-device"
content=
"mobile"
>
<link
rel=
"cononical"
href=
"
{{
currentHref
}}
"
>
{{/
cononical
}}
{{#if
miphtml
}}
...
...
Please
register
or
login
to post a comment