const app = ''; // eg: .25h/.eg
export const isProd = process.env.NODE_ENV === 'production';
export const host = isProd
  ? `https://api${app}.vs-u.com`
  : 'http://192.168.88.171:7001';
export const login = `https://m${app}.vs-u.com`;
export const qrHost = login;
export const imgUrl = 'http://barcod.oss-cn-shenzhen.aliyuncs.com/images/';
export const watermark = '.jpg?x-oss-process=style/zmgo_thumb_watermark';
export const appName = '仲马购人工智能';
export const bucket =
  process.env.NODE_ENV === 'production' ? 'zhongma' : 'self-shop-test';
export const region = 'oss-cn-shenzhen';
export const ossLink = `https://${bucket}.${region}.aliyuncs.com`;

window.defaultCount = 0;

export default {
  host,
  login,
  qrHost,
  isProd,
  imgUrl,
  watermark,
  appName,
};
