Authored by 李奇

切换线上环境

1 // 线上环境 1 // 线上环境
2 -// export const API_HOST = 'https://api.yoho.cn';  
3 -// export const SERVICE_HOST = 'https://api.yoho.cn';  
4 -// export const ACTIVITY_HOST = 'https://action.yoho.cn';  
5 -// export const APP_REPORT_HOST = 'https://app.yoho.cn/collect/v3';  
6 -// export const LOG_EVENT_HOST = 'https://analysis.yohobuy.com/yas_mobile';  
7 -// export const ICONFIG_HOST = 'https://iconfig.yoho.cn/miniapp/v1/'; 2 +export const API_HOST = 'https://api.yoho.cn';
  3 +export const SERVICE_HOST = 'https://api.yoho.cn';
  4 +export const ACTIVITY_HOST = 'https://action.yoho.cn';
  5 +export const APP_REPORT_HOST = 'https://app.yoho.cn/collect/v3';
  6 +export const LOG_EVENT_HOST = 'https://analysis.yohobuy.com/yas_mobile';
  7 +export const ICONFIG_HOST = 'https://iconfig.yoho.cn/miniapp/v1/';
8 8
9 // 测试环境 9 // 测试环境
10 -export const API_HOST = 'http://api-test3.dev.yohocorp.com';  
11 -export const SERVICE_HOST = 'http://api-test3.dev.yohocorp.com';  
12 -export const ACTIVITY_HOST = 'http://yoho-activity-platform.test3.ingress.dev.yohocorp.com';  
13 -export const APP_REPORT_HOST = 'http://app.yoho.cn/collect/v3';  
14 -export const LOG_EVENT_HOST = 'https://analysis.yohobuy.com/yas_mobile';  
15 -export const ICONFIG_HOST = 'http://iconfig.yoho.cn/miniapp/v1/'; 10 +// export const API_HOST = 'http://api-test3.dev.yohocorp.com';
  11 +// export const SERVICE_HOST = 'http://api-test3.dev.yohocorp.com';
  12 +// export const ACTIVITY_HOST = 'http://yoho-activity-platform.test3.ingress.dev.yohocorp.com';
  13 +// export const APP_REPORT_HOST = 'http://app.yoho.cn/collect/v3';
  14 +// export const LOG_EVENT_HOST = 'https://analysis.yohobuy.com/yas_mobile';
  15 +// export const ICONFIG_HOST = 'http://iconfig.yoho.cn/miniapp/v1/';
16 16
17 export const MINI_APP_TYPE = 29; 17 export const MINI_APP_TYPE = 29;
18 export const MINI_QR_TYPE = 16; 18 export const MINI_QR_TYPE = 16;