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
181033e18f5a7bc8989304efb1aeb95fd94e0779
1 parent
fec306c9
shop url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
apps/product/models/shop-handler.js
apps/product/models/shop-handler.js
View file @
181033e
...
...
@@ -175,7 +175,7 @@ const largeSlideImg = (data, shopId) => {
if
(
!
url
)
{
url
=
`
$
{
shopListUrl
}?
shopId
=
$
{
shopId
}
`
;
}
url
+=
`
&
filter_poolId
=
$
{
value
.
categoryId
}
`
;
url
+=
`
&
productPool
=
$
{
value
.
categoryId
}
`
;
}
dest
.
push
({
img
:
value
.
src
,
...
...
@@ -204,7 +204,7 @@ const oneRowTwoColImages = (data, shopId) => {
if
(
!
url
)
{
url
=
`
$
{
shopListUrl
}?
shopId
=
$
{
shopId
}
`
;
}
url
+=
`
&
filter_poolId
=
$
{
value
.
categoryId
}
`
;
url
+=
`
&
productPool
=
$
{
value
.
categoryId
}
`
;
}
dest
.
push
({
img
:
value
.
src
,
...
...
@@ -226,7 +226,7 @@ const recommend = (data, shopId) => {
let
url
=
value
.
url
||
`
$
{
shopListUrl
}?
shopId
=
$
{
shopId
}
`
;
if
(
+
value
.
categoryId
>
0
)
{
url
+=
`
&
filter_poolId
=
$
{
value
.
categoryId
}
`
;
url
+=
`
&
productPool
=
$
{
value
.
categoryId
}
`
;
}
dest
.
push
({
enName
:
value
.
enName
,
...
...
Please
register
or
login
to post a comment