|
@ -1304,16 +1304,13 @@ public class GuahaoService {
|
|
|
public String GetOrgImmuneList()throws Exception {
|
|
|
String result = "";
|
|
|
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>";
|
|
|
|
|
|
ZysoftApi api = ZysoftApi.getSingleton();
|
|
|
PublicKey publicKey=immPublicKeyget(api.getImmPublicKey());
|
|
|
|
|
|
byte[] encryptedBytes = this.encrypt(condition.getBytes(),publicKey);
|
|
|
|
|
|
condition = new String(encryptedBytes,"utf-8");
|
|
|
System.out.println(condition);
|
|
|
params.put("Condition", condition);
|
|
|
String[] values = SOAPUtil.getCredential("condition", true);
|
|
|
// System.out.println(condition);
|
|
|
params.put("Condition", values[0]);
|
|
|
params.put("Credential", values[1]);
|
|
|
params.put("Key", values[2]);
|
|
|
return immPostSecond("GetOrgImmuneList","计免预约-获取免疫接种机构列表",params);
|
|
|
}
|
|
|
|