|
@@ -1,5 +1,5 @@
|
|
|
import fetch from './fetch'
|
|
|
-import { api, api1, baseUrl, business, physics, venders, zone } from './config.js'
|
|
|
+import { api, api1, baseUrl, business, physics, venders, zone, dataCenter } from './config.js'
|
|
|
import http from './httpUtil'
|
|
|
import storage from '@/framework/utils/storage'
|
|
|
|
|
@@ -846,7 +846,6 @@ export function ShaftRelationBusinessSpace(param, success) {
|
|
|
|
|
|
|
|
|
export function getCenoteType(param, success) {
|
|
|
-
|
|
|
let url = `${baseUrl}/datacenter2/object/shaft/query-shaft-functype`
|
|
|
http.postJson(url, param, success)
|
|
|
}
|
|
@@ -859,14 +858,13 @@ export function getCenoteTableData(param, success) {
|
|
|
|
|
|
|
|
|
export function queryCenoteTableData(param, success) {
|
|
|
-
|
|
|
- let url = `${baseUrl}/datacenter2/object/shaft/query`
|
|
|
+ let url = `${baseUrl}${dataCenter}/shaft/query`
|
|
|
http.postJson(url, param, success)
|
|
|
}
|
|
|
|
|
|
|
|
|
export function createCenoteTableData(param, success) {
|
|
|
- let url = `${baseUrl}/datacenter2/shaft/create`
|
|
|
+ let url = `${baseUrl}${dataCenter}/shaft/create`
|
|
|
http.postJson(url, param, success)
|
|
|
}
|
|
|
|