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
ccbikai(👎🏻🍜)
8 years ago
Commit
95cb4897c55ee2ed4e9debc0100efa3e2b39cf00
1 parent
27e45b63
过滤全球购商品
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
config/common.js
utils/product-process.js
config/common.js
View file @
95cb489
...
...
@@ -13,8 +13,8 @@ const domains = {
liveApi
:
'http://testapi.live.yohops.com:9999/'
,
singleApi
:
'http://api-test3.yohops.com:9999/'
,
api
:
'http://api-test2.yohops.com:9999/'
,
service
:
'http://service-test2.yohops.com:9999/'
,
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/',
...
...
utils/product-process.js
View file @
95cb489
...
...
@@ -102,6 +102,11 @@ exports.processProductList = (list, options) => {
return
;
}
// H5 暂时不支持全球购商品,先过滤掉 2017.04.09
if
(
product
.
is_global
===
'Y'
)
{
return
;
}
// 商品信息有问题,则不显示
if
(
!
(
(
product
.
product_id
&&
_
.
get
(
product
,
'goods_list.length'
,
0
))
||
product
.
recommend_type
...
...
Please
register
or
login
to post a comment