接口修改

main
徐景良 2 years ago
parent 34dd3668fb
commit b2b8533074

@ -1,8 +1,8 @@
export const globalApi = {
// 本地测试
// BASE_URL: "http://192.168.10.122:8909", //测试 卢国栋
// GEOSERVER_URL: "http://192.168.10.136:8180",
// netBASE_URL: "http://123.132.248.154:9231", //测试.net
BASE_URL: "http://192.168.10.116:8909", //测试 卢国栋
GEOSERVER_URL: "http://192.168.10.116:8909",
netBASE_URL: "https://py.hopetrytech.com:7001", //测试.net
// 测试服务器
// BASE_URL: "http://123.132.248.154:9217", //测试 服务器
@ -21,8 +21,8 @@ export const globalApi = {
// GEOSERVER_URL:"http://223.99.16.253:9007", // geoserver
// netBASE_URL: "http://223.99.16.253:9001", //.net
BASE_URL: "https://fx.hopetrytech.com:7006/", // java
GEOSERVER_URL:"https://fx.hopetrytech.com:7005", // geoserver
netBASE_URL: "https://fx.hopetrytech.com:7001", //.net
// BASE_URL: "https://fx.hopetrytech.com:7006/", // java
// GEOSERVER_URL:"https://fx.hopetrytech.com:7005", // geoserver
// netBASE_URL: "https://py.hopetrytech.com:7001", //.net
}

@ -125,10 +125,7 @@
import axios from 'axios';
import { getMethodCommon, postMethodCommon } from '../../api/Api';
import { globalApi } from '../../api/urlPatterns.js';
import {
checkServerName,
checkTableName
} from "../../api/datamange";
import { checkServerName,checkTableName } from "../../api/datamange";
export default {
name: 'data_upload',
data() {
@ -141,7 +138,7 @@
} else {
callback();
}
//
};
var isAllUpperCase = (rule, value, callback) => {
for (var i = 0; i < value.length; i++) {

Loading…
Cancel
Save