819527061@qq.com
2024-07-26 c97d01f4d1c98bedec0e53aca91d21c78eecf9e6
api/request.js
@@ -100,21 +100,22 @@
   500: responseError
}
// const BaseUrl = "http://192.168.0.118:9896"
// const webSocketUrl = "ws://192.168.0.118:9896/wrzs/ws/info"
// const BaseUrl = "http://192.168.0.110:9896"
// const webSocketUrl = "ws://192.168.0.110:9896/wrzs/ws/info"
// const BaseUrl = "http://192.168.1.104:9896"
// const webSocketUrl = "ws://192.168.1.104:9896/wrzs/ws/info"
// const BaseUrl = "http://192.168.0.22:9896"
// const webSocketUrl = "ws://192.168.0.22:9896/wrzs/ws/info"
export const onlineurl = "https://mx.jzeg.cn:9096";
// export const onlineurl = 'https://mx.jzeg.cn:9195';
export const onlineurl = 'https://mr3.res.jzeg.cn:9195';
// const BaseUrl = "http://192.168.0.100:9997";
// const webSocketUrl = "ws://192.168.0.100:9997/wrzs/ws/info"
const BaseUrl = "http://192.168.31.15:9896";
const webSocketUrl = "ws://192.168.31.15:9896/wrzs/ws/info"
// const BaseUrl = "http://192.168.0.108:9997";
// const webSocketUrl = "ws://192.168.0.108:9997/wrzs/ws/info"
// 线上生产
// const BaseUrl = "https://mx.jzeg.cn:9096";
// const webSocketUrl = "wss://mx.jzeg.cn:9096/wrzs/ws/info"
const BaseUrl = 'https://mr3.res.jzeg.cn:9195';
const webSocketUrl = "wss://mr3.res.jzeg.cn:9195/wrzs/ws/info"
// 请求拦截
@@ -129,7 +130,8 @@
   if (uni.getStorageSync('token')) {
      header = {
         "Authorization": "Bearer" + ' ' + uni.getStorageSync('token'),
         "CLIENT_TOC": "Y",
         "clientToc": "Y",
         'CLIENT_TOC': 'Y',
      }
   }
@@ -191,4 +193,4 @@
   fetch,
   BaseUrl,
   webSocketUrl
}
}