chenhaozhe
2025-08-01 cfa236b5b63c351ed0f846cbc511fa64d88f4993
utils/common.js
@@ -2,7 +2,11 @@
   serverUrl
   constructor() {
      this.serverUrl = uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API';
        this.serverUrl = uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API/';
    }
    setServerUrl(url) {
        this.serverUrl = url
   }
   // 防抖函数
@@ -248,4 +252,4 @@
   }
}
export const CommonUtils = Object.freeze(new commonUtils());
export const CommonUtils = new commonUtils()