/* eslint-disable indent */
import prod from "./prod.config";
import preProd from "./pre-prod.config";
import dev from "./dev.config";
// console.log(prod);
// console.log(dev);
// const accountInfo = wx.getAccountInfoSync();
// if (accountInfo.miniProgram.appId === "wxe16bf9293671506c") {
//   //wxe16bf9293671506c 测试环境appid
//   prod.talosApi = uni.getStorageSync("url") || prod.talosApi;
//   dev.talosApi = uni.getStorageSync("url") || dev.talosApi;
// }
export default process.env.VUE_APP_API_ENV === "pre"
  ? preProd
  : process.env.VUE_APP_API_ENV === "production"
  ? prod
  : dev;
