Authored by ccbikai(👎🏻🍜)

头部显示控制

@@ -16,20 +16,15 @@ module.exports = { @@ -16,20 +16,15 @@ module.exports = {
16 siteUrl: '//m.yohobuy.com', 16 siteUrl: '//m.yohobuy.com',
17 assetUrl: '//localhost:5001', 17 assetUrl: '//localhost:5001',
18 domains: { 18 domains: {
19 - api: 'http://api-test3.yohops.com:9999/',  
20 - service: 'http://service-test3.yohops.com:9999/',  
21 - liveApi: 'http://testapi.live.yohops.com:9999/',  
22 - singleApi: 'http://api-test3.yohops.com:9999/'  
23 -  
24 - // api: 'http://dev-api.yohops.com:9999/',  
25 - // service: 'http://dev-service.yohops.com:9999/', 19 + // api: 'http://api-test3.yohops.com:9999/',
  20 + // service: 'http://service-test3.yohops.com:9999/',
26 // liveApi: 'http://testapi.live.yohops.com:9999/', 21 // liveApi: 'http://testapi.live.yohops.com:9999/',
27 - // singleApi: 'http://api-test1.yohops.com:9999/', 22 + // singleApi: 'http://api-test3.yohops.com:9999/'
28 23
29 - // api: 'http://api.yoho.cn/',  
30 - // service: 'http://service.yoho.cn/',  
31 - // liveApi: 'http://api.live.yoho.cn/',  
32 - // singleApi: 'http://single.yoho.cn/' 24 + api: 'http://api.yoho.cn/',
  25 + service: 'http://service.yoho.cn/',
  26 + liveApi: 'http://api.live.yoho.cn/',
  27 + singleApi: 'http://single.yoho.cn/'
33 }, 28 },
34 subDomains: { 29 subDomains: {
35 host: '.m.yohobuy.com', 30 host: '.m.yohobuy.com',
@@ -33,6 +33,7 @@ module.exports = () => { @@ -33,6 +33,7 @@ module.exports = () => {
33 } 33 }
34 34
35 res.locals.cartUrl = helpers.urlFormat('/cart/index/index'); 35 res.locals.cartUrl = helpers.urlFormat('/cart/index/index');
  36 + res.locals.showHeader = true;
36 37
37 next(); 38 next();
38 }; 39 };