Browse Source

refactor(OTA): 更新版本信息获取接口地址

- 将版本信息获取接口地址从阿里云 OSS 更改为 Valimart 的 OSS地址
- 通过添加时间戳避免缓存问题,确保获取最新的版本信息
panqiuyao 5 tháng trước cách đây
mục cha
commit
166597007c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frontend/src/views/OTA/index.vue

+ 1 - 1
frontend/src/views/OTA/index.vue

@@ -30,7 +30,7 @@ const fetchVersions = async () => {
   try {
     // 添加时间戳避免缓存问题
     const timestamp = new Date().getTime();
-    const response = await axios.get('https://huilima.oss-cn-hangzhou.aliyuncs.com/frontend/html/zhihuiyin/version.json', {
+    const response = await axios.get('https://ossimg.valimart.net/frontend/html/zhihuiyin/version.json', {
       params: {
         _t: timestamp
       }