|
|
@@ -100,9 +100,11 @@ public class YongchengRequestApiComponents {
|
|
|
InsuranceLog.infoLog(InsuranceEnum.AICS.getPinyin(), "\n\n---------> 响应参数:{}", responseStringMsg);
|
|
|
|
|
|
String cleanStr = YcBuildData.cleanResponseStr(responseStringMsg);
|
|
|
+ if(!cleanStr.contains("<")){
|
|
|
+ return (S) cleanStr;
|
|
|
+ }
|
|
|
|
|
|
S bean = gainXmlMapper().readValue(cleanStr, tClass);
|
|
|
-
|
|
|
if (ObjectUtils.isEmpty(bean)) {
|
|
|
throw new SystemException("请求失败");
|
|
|
}
|