qingyiay
2023-07-26 b3c833eeb97a7ef0e32d05f9ee3604fed6e4a37b
api/request.js
@@ -78,9 +78,17 @@
   500: responseError
}
// const BaseUrl = "http://192.168.3.159:9999/";
// const BaseUrl = "http://192.168.0.120:9997";
const BaseUrl = "http://192.168.0.120:9997";
// const BaseUrl = "http://192.168.31.18:9997"
// const webSocketUrl = "ws://192.168.31.18:9997/wrzs/ws/info"
// const BaseUrl = "http://192.168.31.14:9997";
// const webSocketUrl = "ws://192.168.31.14:9997/wrzs/ws/info"
// const BaseUrl = "http://192.168.0.106:9997";
// const webSocketUrl = "ws://192.168.0.106:9997/wrzs/ws/info"
// // 线上生产
const BaseUrl = "https://mx.jzeg.cn:9095";
const webSocketUrl = "wss://mx.jzeg.cn:9095/wrzs/ws/info"
// 请求拦截
const fetch = (url, opt) => {
@@ -146,5 +154,6 @@
export {
   fetch,
   BaseUrl
}
   BaseUrl,
   webSocketUrl
}