public String getBody(String rm) {
// 定义返回结果字符串
String res = “”;
try {
//URLDecoder
rm = URLDecoder.decode(rm, “GBK”);
// 解密并获取接口返回数据
Base64 base64 = new Base64();
byte[] textByte = base64.decode(rm);
if(textByte != null && textByte.length != 0) {
res = new String(textByte, ENCODING);
} else {
res = "";
}
} catch (Exception e1) {
ExceptionUtil.handlerException4biz(e1);
}
return res;
}