diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java b/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java index 6485c570d4..e8a539f115 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java @@ -1,5 +1,6 @@ package com.fr.design.data.tabledata.datacenter; +import com.fanruan.workplace.http.ServiceType; import com.fr.datacenters.tabledata.DCTableData; import com.fr.datacenters.tabledata.bean.DCNameBean; import com.fr.datacenters.tabledata.bean.DCTableDataBean; @@ -80,7 +81,8 @@ public class DatacentersPane extends AbstractTableDataPane { private static String getDatacentersUrl() { if (!WorkContext.getCurrent().isLocal()) { String path = WorkContext.getCurrent().getPath(); - return path.endsWith("/") ? path + "bi" : path + "/bi"; + String datacenterPath = ServiceType.DATACENTER.createPath(StringUtils.EMPTY); + return path.endsWith("/") ? path + datacenterPath : path + "/" + datacenterPath; } return StringUtils.EMPTY; }