...
|
...
|
@@ -21,7 +21,8 @@ const domains = { |
|
|
liveApi: 'http://testapi.live.yohops.com:9999/',
|
|
|
imSocket: 'ws://socket.yohobuy.com:10240',
|
|
|
imCs: 'http://im.yohobuy.com/api',
|
|
|
platformApi: 'http://192.168.102.48:8088/'
|
|
|
platformApi: 'http://192.168.102.48:8088/',
|
|
|
store: 'http://192.168.102.47:8080/portal-gateway/wechat/'
|
|
|
};
|
|
|
|
|
|
module.exports = {
|
...
|
...
|
@@ -134,7 +135,7 @@ if (isProduction) { |
|
|
api: 'http://api.yoho.yohoops.org/',
|
|
|
service: 'http://service.yoho.yohoops.org/',
|
|
|
global: 'http://api-global.yohobuy.com',
|
|
|
store: '', // 线上域名尚未确定
|
|
|
store: 'http://openstore.yohobuy.com', // 线上域名尚未确定
|
|
|
liveApi: 'http://api.live.yoho.cn/',
|
|
|
singleApi: 'http://single.yoho.cn/',
|
|
|
imSocket: 'wss://imsocket.yohobuy.com:443',
|
...
|
...
|
@@ -204,7 +205,7 @@ if (isProduction) { |
|
|
api: process.env.TEST_API || 'http://api-test1.yohops.com:9999/',
|
|
|
service: process.env.TEST_SERVICE || 'http://service-test1.yohops.com:9999/',
|
|
|
global: process.env.TEST_GLOBAL || 'http://global-test-soa.yohops.com:9999/',
|
|
|
store: process.env.TEST_STORE || 'http://192.168.102.210:8080/portal-gateway/',
|
|
|
store: process.env.TEST_STORE || 'http://192.168.102.210:8080/portal-gateway/wechat/',
|
|
|
liveApi: process.env.TEST_LIVE || 'http://testapi.live.yohops.com:9999/',
|
|
|
singleApi: process.env.TEST_SINGLE || 'http://api-test1.yohops.com:9999/',
|
|
|
imSocket: process.env.TEST_IM_SOCKET || 'ws://socket.yohobuy.com:10240',
|
...
|
...
|
|