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
Email Patches
Plain Diff
Browse Files
Authored by
TaoHuang
6 years ago
Commit
f2e14642ad4bfb1a1d283bc2b65aa2260ea6ef35
1 parent
e4f93be0
fix shop url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/activity/models/feature.js
apps/activity/models/feature.js
View file @
f2e1464
...
...
@@ -65,7 +65,7 @@ class featureModel extends global.yoho.BaseModel {
};
if
(
val
.
shop_id
)
{
obj
.
brandurl
=
`
//m.yohobuy.com/product/index/brand?
domain=${val.brand_domain
}&openby:yohobuy={"action":"go.shop","params":{"shop_id":${val.shop_id},"shop_template_type":${val.shop_template_type || "1"},"is_red_shop":${val.is_red_shop || 1}}}`; // eslint-disable-line
obj
.
brandurl
=
`
//m.yohobuy.com/product/index/brand?
shop_id=${val.shop_id
}&openby:yohobuy={"action":"go.shop","params":{"shop_id":${val.shop_id},"shop_template_type":${val.shop_template_type || "1"},"is_red_shop":${val.is_red_shop || 1}}}`; // eslint-disable-line
}
else
{
obj
.
brandurl
=
`
//m.yohobuy.com/product/index/brand?domain=${val.brand_domain}&openby:yohobuy={"action":"go.brand","params":{"brand_id":${val.brand_id}}}`; // eslint-disable-line
}
...
...
Please
register
or
login
to post a comment