zhangxiaoxu
2026-06-17 9697dfd0004335bab3bf5626425eab3130a55ec6
utils/request.js
@@ -6,6 +6,7 @@
   jihua
} from './jihua.js';
// 成功
const responseOK = (response) => {
   const {
@@ -18,7 +19,7 @@
const responseFailedDependency = () => {
   uni.showToast({
      title: '登录状态过期,即将返回登录!',
      icon: 'error',
      icon: 'none',
      position: 'top',
      duration: 2000
   });
@@ -82,12 +83,13 @@
   500: responseError
}
// let BaseUrl = 'http://192.168.3.159:9999';
// const BaseUrl = 'https://mx.jzeg.cn:443/app';
// let BaseUrl = 'http://192.168.0.114:9999';
// const BaseUrl = 'http://192.168.0.102:9999'; // 飞哥
 // let BaseUrl = 'http://192.168.0.115:9999';
// const BaseUrl = 'https://mx.jzeg.cn:9998';
// const BaseUrl = 'https://mx.res.jzeg.cn:8887';
const BaseUrl = 'https://mxwx.res.jzeg.cn:8887';  //线上(新)
 //let BaseUrl = 'http://192.168.0.146:9999';
const BaseUrl = "https://mx.jzeg.cn:9998"; // 正式服务
//const BaseUrl = "https://mx.jzeg.cn:9998"; // 正式服务
// 请求拦截
const fetch = (url, opt, urlParam) => {
@@ -102,7 +104,7 @@
      header = {
         "TENANT-ID": 5,
         Authorization: 'Bearer ' + uni.getStorageSync('access_token'),
         VERSION: "zzl",
         VERSION: "ZXX",
         // Accept: 'application/json, text/plain, */*' // 客户端所能接受的数据类型
      }
   }