qingyiay
2023-08-14 76c41f4669a36b0d4cb5b82906419408a6b7de96
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
}