Commit a0c2fe84 authored by yanzg's avatar yanzg

接口文档的支持

parent 0f1f42a5
......@@ -188,4 +188,24 @@ public class UrlHelper {
}
return mapRequest;
}
/**
public static void main(String[] args) {
String url = "http://wx.pangdly.com/#/orderPayment?companyId=6da527f930be4aa1904fe17fcb41874f&order=z001570428580820822894116f754e96";
System.out.println(getPage(url));
System.out.println(getQueryString(url));
System.out.println(JsonHelper.serialize(getQueryObject(url)));
url = "orderPayment?companyId=6da527f930be4aa1904fe17fcb41874f&order=z001570428580820822894116f754e96";
System.out.println(getPage(url));
System.out.println(getQueryString(url));
System.out.println(JsonHelper.serialize(getQueryObject(url)));
url = "http://wx.pangdly.com/orderPayment";
System.out.println(getPage(url));
System.out.println(getQueryString(url));
System.out.println(JsonHelper.serialize(getQueryObject(url)));
}
*/
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment