|
@ -1164,10 +1164,10 @@ public class GuahaoService {
|
|
String re = "";
|
|
String re = "";
|
|
|
|
|
|
ZysoftApi api = ZysoftApi.getSingleton();
|
|
ZysoftApi api = ZysoftApi.getSingleton();
|
|
if(!params.containsKey("Credential")&&!params.containsKey("key")) {
|
|
|
|
|
|
if(!params.containsKey("Credential")&&!params.containsKey("Key")) {
|
|
//strCredential和strKey设置
|
|
//strCredential和strKey设置
|
|
params.put("Credential", api.getCryptoCredential());
|
|
params.put("Credential", api.getCryptoCredential());
|
|
params.put("key", api.getCryptoKey());
|
|
|
|
|
|
params.put("Key", api.getCryptoKey());
|
|
}
|
|
}
|
|
|
|
|
|
String msgBody = net.sf.json.JSONObject.fromObject(params).toString();
|
|
String msgBody = net.sf.json.JSONObject.fromObject(params).toString();
|
|
@ -1287,9 +1287,10 @@ public class GuahaoService {
|
|
* @param condition
|
|
* @param condition
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public String GetOrgImmuneList(String condition)throws Exception {
|
|
|
|
|
|
public String GetOrgImmuneList()throws Exception {
|
|
String result = "";
|
|
String result = "";
|
|
Map<String,String> params = new HashMap<>();
|
|
Map<String,String> params = new HashMap<>();
|
|
|
|
String condition = "<root><zone>350203</zone><zone>350206</zone><zone>350205</zone><zone>350211</zone><zone>350212</zone><zone>350213</zone></root>";
|
|
params.put("Condition", condition);
|
|
params.put("Condition", condition);
|
|
return immPostSecond("GetOrgImmuneList","计免预约-获取免疫接种机构列表",params);
|
|
return immPostSecond("GetOrgImmuneList","计免预约-获取免疫接种机构列表",params);
|
|
}
|
|
}
|