var protocol = window.location.protocol;
var xyqbUserUrl = protocol + '//passport.xyqb.com';
var mallUrl = protocol + '//mall.xyqb.com';
var newMallUrl = protocol + '//new-mall.xyqb.com';
var xjdApi= protocol+ '//m.xyqb.com?registerFrom=1'
var xyqbUrl = protocol + '//api.xyqb.com'
var xyqbH5Backend = protocol + '//mapi.xyqb.com'

module.exports = {
  api: xyqbH5Backend + '/bt/api',
  auth: xyqbH5Backend + '/bt/auth',
  xyqbUserUrl: xyqbUserUrl,
  xjdApi: xjdApi,
  mallUrl: mallUrl,
  newMallUrl: newMallUrl,
  mallApi: xyqbH5Backend + '/bt/mall',
  baitiaoBankCardToken: 'BAITIAO_RETURN_DEV_ZQ',
  baitiaoRepayToken: 'BAITIAO_REPAY_RETURN_LOCAL',
  xyqbUrl: xyqbUrl
};