Authored by 郝肖肖

修复homeNav function

@@ -34,7 +34,7 @@ const bindController = require(`${cRoot}/3party-bind`); @@ -34,7 +34,7 @@ const bindController = require(`${cRoot}/3party-bind`);
34 // const AddressController = require(`${cRoot}/address`); 34 // const AddressController = require(`${cRoot}/address`);
35 // const GiftController = require(`${cRoot}/gift`); 35 // const GiftController = require(`${cRoot}/gift`);
36 36
37 -const homeNav(req, res) => { 37 +const homeNav = (req, res) => {
38 return [ 38 return [
39 { 39 {
40 title: '交易管理', 40 title: '交易管理',
@@ -21,19 +21,16 @@ module.exports = { @@ -21,19 +21,16 @@ module.exports = {
21 // api: 'http://api-test3.yohops.com:9999/', 21 // api: 'http://api-test3.yohops.com:9999/',
22 // service: 'http://service-test3.yohops.com:9999/', 22 // service: 'http://service-test3.yohops.com:9999/',
23 // 23 //
24 - // api: 'http://api.yoho.cn/',  
25 - // service: 'http://service.yoho.cn/',  
26 -  
27 - api: 'http://192.168.102.205:8080/gateway/',  
28 -  
29 - // api: 'http://dev-api.yohops.com:9999/',  
30 - service: 'http://dev-service.yohops.com:9999/', 24 + api: 'http://api.yoho.cn/',
  25 + service: 'http://service.yoho.cn/',
31 26
  27 + // api: 'http://192.168.102.205:8080/gateway/',
  28 + // service: 'http://dev-service.yohops.com:9999/',
32 search: 'http://192.168.102.216:8080/yohosearch/', 29 search: 'http://192.168.102.216:8080/yohosearch/',
33 30
34 - imSocket: 'ws://socket.yohobuy.com:10240',  
35 - imCs: 'http://im.yohobuy.com/api',  
36 - imServer: 'http://im.yohobuy.com/server' 31 + imSocket: 'wss://imsocket.yohobuy.com:443',
  32 + imCs: 'https://imhttp.yohobuy.com/api',
  33 + imServer: 'https://imhttp.yohobuy.com/server'
37 }, 34 },
38 subDomains: { 35 subDomains: {
39 host: '.yohobuy.com', 36 host: '.yohobuy.com',