解决梅州标签问题

master
lzy 3 years ago
parent afbd98ce7f
commit 1a62d6ce1a

@ -53,6 +53,7 @@
//
"repealSerialnum":"UNIQUE_ID",
//
"repoalConnector":"http://127.0.0.1:9291/api/down/cancel"
"repoalConnector":"http://127.0.0.1:9291/api/down/cancel",
"urlReplace":["<REPORT_URLS>","</REPORT_URLS>","<URL>","</URL>"]
}

@ -53,6 +53,7 @@
//
"repealSerialnum":"SAMPLE_NO",
//
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel"
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel",
"urlReplace":[]
}

@ -54,6 +54,7 @@
"repealSerialnum":"UNIQUE_ID",
//
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel",
"urlReplace":[],
//--------------------
"zyUrl":"http://192.9.100.32:9022/ktin/api/webservice/ChasWebService?wsdl",

@ -51,6 +51,7 @@
//
"repealSerialnum":"REPORT_STATUS_FLAG",
//
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel"
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel",
"urlReplace":[]
}

@ -54,6 +54,7 @@
"repealSerialnum":"UNIQUE_ID",
//
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel",
"urlReplace":[],
//--------------------
"zyUrl":"http://192.9.100.32:9022/ktin/api/webservice/ChasWebService?wsdl",

@ -53,6 +53,7 @@
//
"repealSerialnum":"IDNO",
//
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel"
"repoalConnector":"http://192.9.100.171:9291/api/down/cancel",
"urlReplace":[]
}

@ -53,6 +53,7 @@
//
"repealSerialnum":"UNIQUE_ID",
//
"repoalConnector":"http://127.0.0.1:9291/api/down/cancel"
"repoalConnector":"http://127.0.0.1:9291/api/down/cancel",
"urlReplace":["<REPORT_URLS>","</REPORT_URLS>","<URL>","</URL>"]
}

@ -190,10 +190,10 @@ public class TBasicWebService implements ITBasicWebService {
XmlUtils xmlUtils = new XmlUtils(new ByteArrayInputStream(downurl.getBytes("UTF-8")));
if (null != xmlUtils) {
url=downurl;
url = downurl.replaceAll("<REST>", "");
url = url.replaceAll("</REST>", "");
url = url.replaceAll("<SQW>", "");
url = url.replaceAll("</SQW>", "");
List<String> urlReplaces=(List<String>) FileUtils.getJsonByName("urlReplace");
for (String urlReplace : urlReplaces) {
url = downurl.replaceAll(urlReplace, "");
}
}
} catch (Exception e) {

Loading…
Cancel
Save