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
周少峰
8 years ago
Commit
1f1d2670e12a262150d3e2359812cbd4b604b50d
2 parents
d4f211db
e5615b6e
Merge branch 'feature/remove-cart'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
apps/product/models/detail-service.js
config/common.js
apps/product/models/detail-service.js
View file @
1f1d267
...
...
@@ -1395,6 +1395,11 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
}
}
// 定金预售
if
(
result
.
deposit
===
'Y'
)
{
result
.
addToCart
=
false
;
}
// 去掉即将售罄
if
(
totalStorageNum
||
soldOut
)
{
// 去掉即将售罄
...
...
config/common.js
View file @
1f1d267
...
...
@@ -17,20 +17,20 @@ module.exports = {
cookieDomain
:
'.yohobuy.com'
,
domains
:
{
// test3
singleApi
:
'http://api-test3.yohops.com:9999/'
,
api
:
'http://api-test3.yohops.com:9999/'
,
service
:
'http://service-test3.yohops.com:9999/'
,
serviceNotify
:
'http://service-test3.yohops.com:9999/'
,
global
:
'http://global-test-soa.yohops.com:9999/'
,
platformApi
:
'http://192.168.102.48:8088/'
,
// singleApi: 'http://api-test3.yohops.com:9999/',
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
// serviceNotify: 'http://service-test3.yohops.com:9999/',
// global: 'http://global-test-soa.yohops.com:9999/',
// platformApi: 'http://192.168.102.48:8088/',
// prod
// singleApi: 'http://single.yoho.cn/',
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// serviceNotify: 'http://service.yoho.cn/',
// global: 'http://api-global.yohobuy.com/',
// platformApi: 'http://172.16.6.210:8088/',
singleApi
:
'http://single.yoho.cn/'
,
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
serviceNotify
:
'http://service.yoho.cn/'
,
global
:
'http://api-global.yohobuy.com/'
,
platformApi
:
'http://172.16.6.210:8088/'
,
// gray
// singleApi: 'http://single.gray.yohops.com/',
...
...
Please
register
or
login
to post a comment