config.js 1.07 KB
// 线上环境
// export const API_HOST = 'https://api.yoho.cn';
// export const SERVICE_HOST = 'https://api.yoho.cn';
// export const ACTIVITY_HOST = 'https://action.yoho.cn';
// export const APP_REPORT_HOST = 'https://app.yoho.cn/collect/v3';
// export const LOG_EVENT_HOST = 'https://analysis.yohobuy.com/yas_mobile';
// export const ICONFIG_HOST = 'https://iconfig.yoho.cn/lb/v3';

// 测试环境
export const API_HOST = 'http://api-test3.dev.yohocorp.com';
export const SERVICE_HOST = 'http://api-test3.dev.yohocorp.com';
export const ACTIVITY_HOST = 'http://yoho-activity-platform.test3.ingress.dev.yohocorp.com';
export const APP_REPORT_HOST = 'http://app.yoho.cn/collect/v3';
export const LOG_EVENT_HOST = 'https://analysis.yohobuy.com/yas_mobile';
export const ICONFIG_HOST = 'http://iconfig.yoho.cn/lb/v3';

export const MINI_APP_TYPE = 29;
export const MINI_QR_TYPE = 16;

export const OS_VERSION = 'yohobuy:h5';
export const APP_VERSION = '2.9.0';
export const APP_BUILD = '1041';

export const PRIVATE_KEY = 'b43890b0a296ff3c7b8c260ca763980b';
export const CLIENT_TYPE = 'miniapp';