config.js 1.72 KB
//****** 线上环境url,提交代码务必检查确认 ******
// export const API_HOST = 'https://api.yoho.cn';
// export const SERVICE_HOST = 'https://api.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 ACTIVITY_HOST = 'https://action.yoho.cn';


// export const ACTIVITY_HOST = 'http://192.168.102.49:6006';

// *********开发环境*********
// export const API_HOST = 'http://dev-api.yohops.com:9999';
// export const SERVICE_HOST = 'http://dev-api.yohops.com:9999/';

// *********测试1环境*********
// export const API_HOST = 'http://api-test1.yohops.com:9999';
// export const SERVICE_HOST = 'http://api-test1.yohops.com:9999/';

// *********测试2环境*********
// export const API_HOST = 'http://api-test2.dev.yohocorp.com';
// export const SERVICE_HOST = 'http://api-test2.dev.yohocorp.com';

// *********测试3环境*********
 export const API_HOST = 'http://api-test3.dev.yohocorp.com';
 export const SERVICE_HOST = 'http://api-test3.dev.yohocorp.com';



// *********灰度环境*********
// export const API_HOST = 'https://apigray.yoho.cn';
// export const SERVICE_HOST = 'https://apigray.yoho.cn';

//有货精选
export const MINI_APP_TYPE = '65';
export const PAYMENT_CODE = '79';

//有货商城精选
// export const MINI_APP_TYPE = '1';
// export const PAYMENT_CODE = '48';

export const OS_VERSION = 'yohobuy:h5';

export const APP_VERSION = '2.9.7';
export const APP_BUILD = '1046';

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

export const JUMP_BRAND = 'go.brand';
export const JUMP_DETAIL = 'go.detail';
export const JUMP_PRODUCTPOOL = 'go.poollist';