qingyiay
2023-05-10 29658de29b2eb5292bf0c2fad7427b374b769ebc
api/request.js
@@ -78,9 +78,15 @@
   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 = "https://mx.jzeg.cn:9095";
// const webSocketUrl = "wss://mx.jzeg.cn:9095/wrzs/ws/info"
// 请求拦截
const fetch = (url, opt) => {
@@ -146,5 +152,6 @@
export {
   fetch,
   BaseUrl
   BaseUrl,
   webSocketUrl
}