|
@ -105,13 +105,13 @@ public class PrescriptionCAService extends ZysoftBaseService {
|
|
|
re = ZysoftApi.getSingleton().capost(paramsList, null,true);
|
|
|
|
|
|
System.out.println("re=====>:"+re);
|
|
|
Map<String,String> map = objectMapper.readValue(re,Map.class);
|
|
|
String code = map.get("CODE");
|
|
|
|
|
|
if(!code.equals("1"))
|
|
|
{
|
|
|
throw new HttpApiException(Integer.valueOf(code),map.get("MESSAGE"));
|
|
|
}
|
|
|
// Map<String,String> map = objectMapper.readValue(re,Map.class);
|
|
|
// String code = map.get("CODE");
|
|
|
//
|
|
|
// if(!code.equals("1"))
|
|
|
// {
|
|
|
// throw new HttpApiException(Integer.valueOf(code),map.get("MESSAGE"));
|
|
|
// }
|
|
|
|
|
|
//保存http日志
|
|
|
logService.saveHttpLog(isSuccess,api,content,method,msgHeader,msgBody,re,error);
|