apiList.js
685 Bytes
import map from "./map";
import login from "./login";
import task from "./task";
import show from "./show";
import search from "./search";
import device from "./device"
import resource from "./resource"
import ops from "./ops"
let wsIP = "vion-panda.51vip.biz:52510";
switch (process.env.NODE_ENV) {
case "development":
wsIP = "vion-panda.51vip.biz:52510"; // 测试环境url
// baseUrl = "http://192.168.9.61:8086";
break;
case "pre":
wsIP = ""; // 预上线环境url
break;
case "production":
wsIP = "192.168.9.133:20080"; // 生产环境url
break;
}
export default {
map,
login,
task,
show,
search,
device,
resource,
ops,
wsIP
};