diff --git a/src/api/sync/dataSyncStatus.js b/src/api/sync/dataSyncStatus.js index 576409c..3c0198f 100644 --- a/src/api/sync/dataSyncStatus.js +++ b/src/api/sync/dataSyncStatus.js @@ -48,7 +48,7 @@ export function deleteDownloadStatus(params) { export function connectUpper(params) { return axios({ - url: "/sps/sync/connect/test", + url: "/udispsync/sync/testConnection", method: 'get', params: params }) diff --git a/src/main.js b/src/main.js index 9160232..92a49b1 100644 --- a/src/main.js +++ b/src/main.js @@ -12,7 +12,7 @@ import allTools from "./plugin/allTools"; // import "./mock"; // 模拟数据 -import { BASE_URL } from "./config/app" +//import { BASE_URL } from "./config/app" import axios from "axios"; import "../public/config.json"; import myReq from "./utils/axios"; @@ -28,7 +28,7 @@ Vue.config.productionTip = false; let getUrl = ""; let url = process.env.VUE_APP_API_BASE; let startApp = function() { - console.log(window.global_config.BASE_URL); +// console.log(window.global_config.BASE_URL); // axios.get("./config.json").then(res => { // 基础地址 getUrl = url;