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
Plain Diff
Browse Files
Authored by
刘传洋
2016-09-21 14:50:09 +0800
Commit
6f4242c910fdd4392d66d6db4de283bfd0472b88
2 parents
d15f4a53
cf38b169
Merge branch 'release/newSearch' of
http://git.yoho.cn/fe/yohobuy-node
into release/newSearch
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/models/search-api.js
apps/product/models/search-api.js
View file @
6f4242c
...
...
@@ -297,7 +297,7 @@ const shopFormat = shopDatas => {
_
.
forEach
(
shopDatas
,
val
=>
{
let
sorts
=
[];
let
shopId
=
val
.
shop
&&
(
val
.
shop
.
brand_id
||
val
.
shop
.
id
)
||
''
;
// 接口中品牌下的店铺为brand_id,品牌为id
let
shopId
=
_
.
get
(
val
,
'shop.id'
,
''
);
let
url
=
helpers
.
urlFormat
(
''
,
{
shopId
:
shopId
},
val
.
shop
.
brand_domain
);
if
(
val
.
shopSort
)
{
...
...
Please
register
or
login
to post a comment