qingyiay
2023-03-28 e7b0b34176549cfec809c6b89c4cab0999e488b9
api/request.js
@@ -81,11 +81,14 @@
// 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 BaseUrl = "http://192.168.0.144:9997";
// const BaseUrl = "http://192.168.3.119:9997";
// const BaseUrl = "http://192.168.0.144:9997";
const BaseUrl = "http://hesuancj.cn:9997";
// 线上
// const BaseUrl = "https://hesuancj.cn:9095";
const webSocketUrl = "ws://192.168.3.109:9997/wrzs/ws/info"
// const webSocketUrl = "ws://10.101.33.114:9997/wrzs/ws/info"
// const webSocketUrl = "ws://hesuancj.cn:9095/wrzs/ws/info"
const webSocketUrl = "ws://hesuancj.cn:9997/wrzs/ws/info"
// 请求拦截
const fetch = (url, opt) => {
   // 查找对应地址