// test 测试环境 const dev = { BASE_URL: "http://192.168.1.24:5055", BASE_IMG_URL: "https://file-dev.xyyxt.net/", }; const index = 0; // 测试环境 // const index = 1; // 测试环境 // const index = 2; // 正式 const set = [ dev, { BASE_URL: "http://120.79.166.78:19012", BASE_IMG_URL: "https://file-dev.xyyxt.net/", }, { BASE_URL: "https://api.xyyxt.net", BASE_IMG_URL: "https://file.xyyxt.net/", }, ]; export default set[index];