From ef9cf4de5502a7fc12cf06345cb9cd22a3c36edd Mon Sep 17 00:00:00 2001
From: gjj <Ganjj@probim.com.cn>
Date: Wed, 26 Feb 2025 15:04:11 +0800
Subject: [PATCH] 报错问题修改

---
 public/config.js  |    3 +--
 src/utils/http.js |    2 +-
 src/api/home.js   |    4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/public/config.js b/public/config.js
index 09095d9..753b231 100644
--- a/public/config.js
+++ b/public/config.js
@@ -2,7 +2,7 @@
  * @Author: gjj Ganjj@probim.com.cn
  * @Date: 2025-02-14 14:32:17
  * @LastEditors: gjj Ganjj@probim.com.cn
- * @LastEditTime: 2025-02-26 10:34:59
+ * @LastEditTime: 2025-02-26 14:46:42
  * @FilePath: \北京交通大学\public\config.js
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -10,7 +10,6 @@
     // axiosBaseURL: "http://47.117.124.20:2002/",
     axiosBaseURL: "http://8.140.54.245:5000",
     axiosTimeout: 1000 * 30, //毫秒
-    modelUrl: '//dev.vothing.com/scenemanagerVothing/#/', // 模型预览地址
     panoUrl: 'http://8.140.54.245:5000', // 全景预览地址
     panoBaseUrl: 'http://8.140.54.245:5000', // 全景图及文档接口
     modelUrl: 'http://8.140.54.245:5010/#/Home/sceneManagementDetail?shareUrlToken=69E38706C533C52C84A9F864785953A2AB834465D303010594EF3531C3AE64EE121F5C12AFB6E145D2F72023B59D3999249F65A61D9E4F11F3CD4667FA621262CC361AC0176055077A4C26B78B014EEB', // 模型预览地址
diff --git a/src/api/home.js b/src/api/home.js
index 8a01474..71b94a3 100644
--- a/src/api/home.js
+++ b/src/api/home.js
@@ -2,7 +2,7 @@
  * @Author: gjj Ganjj@probim.com.cn
  * @Date: 2025-02-18 16:45:49
  * @LastEditors: gjj Ganjj@probim.com.cn
- * @LastEditTime: 2025-02-25 16:16:42
+ * @LastEditTime: 2025-02-26 14:47:20
  * @FilePath: \北京交通大学\src\api\home.js
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -15,7 +15,7 @@
     },
 
     WhLogin: (data, config = {}) => {
-        return http.post("/api//User/Home/WhLogin", data, config);
+        return http.post("/api/User/Home/WhLogin", data, config);
     },
 
     GetParticipatingList: (data) => {
diff --git a/src/utils/http.js b/src/utils/http.js
index 997d954..ea4489c 100644
--- a/src/utils/http.js
+++ b/src/utils/http.js
@@ -49,7 +49,7 @@
         };
     }
     if (!responseData || responseData.code !== 0) {
-        Message.error({ message: responseData ? responseData.message : "服务异常", duration: 1000 * 3 });
+        // Message.error({ message: responseData ? responseData.message : "服务异常", duration: 1000 * 3 });
     }
     return responseData;
 }

--
Gitblit v1.9.3