@Test
public void searchTicket() {
String address=CommonUrls.ip+CommonUrls.IF_TICKET;
//请求参数
String xml = ""+ "WHN"+ "2018-04-21"+ "1" + "";
/**
* md5(md5(会员 ID)+xml+ 密钥)
*/
String sign = Utils.md5(xml);
CommonUrls.params.put("data", xml); //必填 xml 文件Å
CommonUrls.params.put("service", "DTICK_B2G_searchTicket");//接口名称
CommonUrls.params.put("sign", sign);//md5 加密后的 xml 文件
String result = HttpClientUtils.doPost(address, CommonUrls.params, "utf-8");
System.out.println(result);
}