|
@ -1421,10 +1421,8 @@ public class GuahaoService {
|
|
|
params.put("PatientPhone", patientPhone);
|
|
|
result = immPostSecond("RegisterImmune","计免预约-免疫接种确认预约",params);
|
|
|
|
|
|
com.alibaba.fastjson.JSONObject data = com.alibaba.fastjson.JSONObject.parseObject(result);
|
|
|
|
|
|
if(data.containsKey("OK")){
|
|
|
result = data.getString("OK");
|
|
|
if (StringUtils.startsWith(result, "OK")){
|
|
|
result = "OK";
|
|
|
}
|
|
|
|
|
|
return result;
|
|
@ -1463,10 +1461,8 @@ public class GuahaoService {
|
|
|
params.put("PatientPhone", patientPhone);
|
|
|
result = immPostSecond("UnResRegisterImmune","计免预约-免疫接种确认预约",params);
|
|
|
|
|
|
com.alibaba.fastjson.JSONObject data = com.alibaba.fastjson.JSONObject.parseObject(result);
|
|
|
|
|
|
if(data.containsKey("OK")){
|
|
|
result = data.getString("OK");
|
|
|
if (StringUtils.startsWith(result, "OK")){
|
|
|
result = "OK";
|
|
|
}
|
|
|
|
|
|
return result;
|