gjj
2025-02-26 ef9cf4de5502a7fc12cf06345cb9cd22a3c36edd
报错问题修改
3 files modified
9 ■■■■■ changed files
public/config.js 3 ●●●● patch | view | raw | blame | history
src/api/home.js 4 ●●●● patch | view | raw | blame | history
src/utils/http.js 2 ●●● patch | view | raw | blame | history
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', // 模型预览地址
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) => {
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;
}