|
|
@@ -36,8 +36,8 @@ public class RunOnWaySave {
|
|
|
|
|
|
try {
|
|
|
String date = DateUtil.getCurrentDateString();
|
|
|
- String url = "http://shanghai.keao.tech/adm/admin/reportManage/onTheWayStock.html";
|
|
|
-// String url = "http://127.0.0.1:8089/adm/admin/reportManage/onTheWayStock.html";
|
|
|
+ String url = "http://127.0.0.1:8082/zdtAdm/admin/reportManage/onTheWayStock.html";
|
|
|
+// String url = "http://127.0.0.1:8080/adm/admin/reportManage/onTheWayStock.html";
|
|
|
|
|
|
//构造一个webClient 模拟Chrome 浏览器
|
|
|
WebClient webClient = new WebClient(BrowserVersion.CHROME);
|
|
|
@@ -100,16 +100,7 @@ public class RunOnWaySave {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /*public static void main(String[] args) throws IOException, DocumentException{
|
|
|
- String resString = HttpUtil.httpRequest("http://forex.ccb.com/cn/home/news/jshckpj_new.xml");
|
|
|
- Document document = DocumentHelper.parseText(resString);
|
|
|
- Element rootElement = document.getRootElement();
|
|
|
- Iterator iter = rootElement.elementIterator("ReferencePriceSettlement");
|
|
|
- while (iter.hasNext()) {
|
|
|
- Element recordEle = (Element) iter.next();
|
|
|
- String Ofrd_Ccy_CcyCd = recordEle.elementTextTrim("Ofrd_Ccy_CcyCd");
|
|
|
- String BidRateOfCcy = recordEle.elementTextTrim("BidRateOfCcy");
|
|
|
- System.out.println(Ofrd_Ccy_CcyCd + " " + BidRateOfCcy);
|
|
|
- }
|
|
|
- }*/
|
|
|
+ public static void main(String[] args) throws Exception {
|
|
|
+
|
|
|
+ }
|
|
|
}
|