Authored by 周少峰

Merge branch 'feature/remove-cart'

@@ -1395,6 +1395,11 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { @@ -1395,6 +1395,11 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
1395 } 1395 }
1396 } 1396 }
1397 1397
  1398 + // 定金预售
  1399 + if (result.deposit === 'Y') {
  1400 + result.addToCart = false;
  1401 + }
  1402 +
1398 // 去掉即将售罄 1403 // 去掉即将售罄
1399 if (totalStorageNum || soldOut) { 1404 if (totalStorageNum || soldOut) {
1400 // 去掉即将售罄 1405 // 去掉即将售罄
@@ -17,20 +17,20 @@ module.exports = { @@ -17,20 +17,20 @@ module.exports = {
17 cookieDomain: '.yohobuy.com', 17 cookieDomain: '.yohobuy.com',
18 domains: { 18 domains: {
19 // test3 19 // test3
20 - singleApi: 'http://api-test3.yohops.com:9999/',  
21 - api: 'http://api-test3.yohops.com:9999/',  
22 - service: 'http://service-test3.yohops.com:9999/',  
23 - serviceNotify: 'http://service-test3.yohops.com:9999/',  
24 - global: 'http://global-test-soa.yohops.com:9999/',  
25 - platformApi: 'http://192.168.102.48:8088/', 20 + // singleApi: 'http://api-test3.yohops.com:9999/',
  21 + // api: 'http://api-test3.yohops.com:9999/',
  22 + // service: 'http://service-test3.yohops.com:9999/',
  23 + // serviceNotify: 'http://service-test3.yohops.com:9999/',
  24 + // global: 'http://global-test-soa.yohops.com:9999/',
  25 + // platformApi: 'http://192.168.102.48:8088/',
26 26
27 // prod 27 // prod
28 - // singleApi: 'http://single.yoho.cn/',  
29 - // api: 'http://api.yoho.cn/',  
30 - // service: 'http://service.yoho.cn/',  
31 - // serviceNotify: 'http://service.yoho.cn/',  
32 - // global: 'http://api-global.yohobuy.com/',  
33 - // platformApi: 'http://172.16.6.210:8088/', 28 + singleApi: 'http://single.yoho.cn/',
  29 + api: 'http://api.yoho.cn/',
  30 + service: 'http://service.yoho.cn/',
  31 + serviceNotify: 'http://service.yoho.cn/',
  32 + global: 'http://api-global.yohobuy.com/',
  33 + platformApi: 'http://172.16.6.210:8088/',
34 34
35 // gray 35 // gray
36 // singleApi: 'http://single.gray.yohops.com/', 36 // singleApi: 'http://single.gray.yohops.com/',