qingyiay
2023-04-06 1ddeee845f9c7e4917d5c991820ed4d1baddfeae
api/request.js
@@ -79,10 +79,17 @@
}
// const BaseUrl = "http://192.168.0.120:9997"
// const webSocketUrl = "ws://192.168.0.120:9997/wrzs/ws/info"
const BaseUrl = "http://192.168.3.109:9997";
const webSocketUrl = "ws://192.168.3.109:9997/wrzs/ws/info"
// const webSocketUrl = "ws://192.168.3.119:9997/wrzs/ws/info"
// const BaseUrl = "http://192.168.3.119:9997";
const BaseUrl = "http://192.168.0.110:9997";
const webSocketUrl = "ws://192.168.0.110:9997/wrzs/ws/info"
// const BaseUrl = "http://hesuancj.cn:9997";
// 线上
// const BaseUrl = "https://hesuancj.cn:9095";
// const webSocketUrl = "wss://hesuancj.cn:9095/wrzs/ws/info"
// const webSocketUrl = "ws://hesuancj.cn:9997/wrzs/ws/info"
// 请求拦截
const fetch = (url, opt) => {
   // 查找对应地址