|
@ -526,9 +526,13 @@ public class EntranceService {
|
|
|
//查询信息结束
|
|
|
sbs.append("</MsgInfo></ESBEntry>");
|
|
|
resp = MqSdkUtil.putReqAndGetRespByQueryStr(sbs.toString(), fid);
|
|
|
logger.info("resp==="+resp);
|
|
|
resp = MqSdkUtil.xml2jsonArrayRootRow(resp);
|
|
|
}
|
|
|
JSONArray jsonArray = ConvertUtil.convertListEnvelopInRow(resp);
|
|
|
if(null==jsonArray){
|
|
|
return null;
|
|
|
}
|
|
|
List<WlyyOutpatientVO> wlyyOutpatientVOS = new ArrayList<>();
|
|
|
WlyyOutpatientVO wlyyOutpatientVO;
|
|
|
for (Object object : jsonArray) {
|
|
@ -1614,6 +1618,7 @@ public class EntranceService {
|
|
|
jsonObject.put("content", content);
|
|
|
jsonObject.put("contentString",contentString);
|
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/ehospitalNoticePush.htm",jsonObject.toString());
|
|
|
logger.info("ehospitalNoticePushResult:"+responseMsg);
|
|
|
return responseMsg;
|
|
|
}
|
|
|
|
|
@ -1626,6 +1631,7 @@ public class EntranceService {
|
|
|
JSONObject jsonObject=new JSONObject ();
|
|
|
jsonObject.put("openId",openId);
|
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/getUserInfoByOpenId.htm",jsonObject.toString());
|
|
|
logger.info("getUserInfoByOpenIdResult:"+responseMsg);
|
|
|
return responseMsg;
|
|
|
}
|
|
|
/**
|
|
@ -1637,6 +1643,7 @@ public class EntranceService {
|
|
|
JSONObject jsonObject=new JSONObject ();
|
|
|
jsonObject.put("interfaceid",interfaceid);
|
|
|
String responseMsg =httpClientUtil.sendPost(serverUrl+"/interface/getAccessToken.htm",jsonObject.toString());
|
|
|
logger.info("getAccessTokenResult:"+responseMsg);
|
|
|
return responseMsg;
|
|
|
}
|
|
|
|