const host = window.location.origin;
// eslint-disable-next-line
export const baseUrl = host.indexOf('localhost') > '-1' ? 'http://gicdev.demogic.com' : host;

export const ERR_OK = 0;

export const aliasNames = [
  { name: '核心会员', title: '会员近一年，消费次数≥3次，且消费总额≥3倍商户近一年会员平均客单价'},
  { name: '潜力会员', title: '除核心会员、普通会员、未消费会员之外的其他会员' },
  { name: '普通会员', title: '会员历史累计消费，消费次数等于1' },
  { name: '未消费会员', title: '会员历史累计消费，消费次数等于0' }];
