/**
* 将xml转换成Map
* @param xml
* @return
*/
String response = HttpUtil.sendRequestByPost(url, requestMap);
Map<String, Object> responseMap = new HashMap<String, Object>();
responseMap = xmlToMap(response);
Map<String, String> restultMap = new HashMap<String, String>();
restultMap = (Map<String, String>)(responseMap.get("returnsms"));
public static Map
将xml形式的响应(response)转化为map集合
最新推荐文章于 2023-03-03 18:17:28 发布