var protocol = window.location.protocol;
var api = protocol + '//btapi.xyqb.com/';
var auth = protocol + '//auth.xyqb.com/';
var mallApi = protocol + '//mallapi.xyqb.com/';
var offlineApi = protocol + '//offapi.xyqb.com/';
var offline = protocol + '//off.xyqb.com/';
var btUrl = protocol + '//bt.xyqb.com';
var domain = '.xyqb.com';
var xyqbUserUrl = protocol + '//passport.xyqb.com';
var xyqbUserApi = protocol + '//passportapi2.xyqb.com';
var xjdApi = protocol + '//api.xyqb.com';

module.exports = {
  api: api,
  auth: auth,
  mallApi: mallApi,
  offlineApi: offlineApi,
  offline: offline,
  xyqbUserUrl: xyqbUserUrl,
  test:false,
  btUrl: btUrl,
  domain: domain,
  xyqbUserApi: xyqbUserApi,
  xjdApi: xjdApi,
  baitiaoBankCardToken: 'BAITIAO_RETURN',
  baitiaoRepayToken: 'BAITIAO_REPAY_RETURN'
};
