|
@ -1310,6 +1310,7 @@ public class DoctorInfoService extends BaseService {
|
|
|
String url = jwUrl+"/third/prescription/IsApplied";
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("strUserIdcardNum",strUserIdcardNum));
|
|
|
params.add(new BasicNameValuePair("doctorCode",doctorCode));
|
|
|
String response = HttpClientUtil.post(url, params, "UTF-8");
|
|
|
if (!StringUtils.isEmpty(response)){
|
|
|
JSONObject responseObject = new JSONObject(response);
|
|
@ -1374,6 +1375,7 @@ public class DoctorInfoService extends BaseService {
|
|
|
String url = jwUrl+"/third/prescription/GetRealNameSoftCertExpiredDatetime";
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("strUserIdcardNum",strUserIdcardNum));
|
|
|
params.add(new BasicNameValuePair("doctorCode",doctorCode));
|
|
|
|
|
|
String response = HttpClientUtil.post(url, params, "UTF-8");
|
|
|
if (!StringUtils.isEmpty(response)){
|
|
@ -1421,6 +1423,7 @@ public class DoctorInfoService extends BaseService {
|
|
|
params.add(new BasicNameValuePair("strUserIdcardNum",strUserIdcardNum));
|
|
|
params.add(new BasicNameValuePair("strOldCalledPasswd",strOldCalledPasswd));
|
|
|
params.add(new BasicNameValuePair("strNewCalledPasswd",strNewCalledPasswd));
|
|
|
params.add(new BasicNameValuePair("doctorCode",doctorCode));
|
|
|
String response = HttpClientUtil.post(url, params, "UTF-8");
|
|
|
if (!StringUtils.isEmpty(response)){
|
|
|
JSONObject responseObject = new JSONObject(response);
|
|
@ -1466,6 +1469,7 @@ public class DoctorInfoService extends BaseService {
|
|
|
params.add(new BasicNameValuePair("strRealNameSoftCertCalledPasswd",strRealNameSoftCertCalledPasswd));
|
|
|
String originalDataAbstract = MD5.GetMD5Code(strOriginalData);
|
|
|
params.add(new BasicNameValuePair("strOriginalData",originalDataAbstract));
|
|
|
params.add(new BasicNameValuePair("prescriptionCode",prescriptionCode));
|
|
|
// params.add(new BasicNameValuePair("srcBusinessStreamNO",srcBusinessStreamNO));
|
|
|
String response = HttpClientUtil.post(url, params, "UTF-8");
|
|
|
if (!StringUtils.isEmpty(response)){
|
|
@ -1505,13 +1509,14 @@ public class DoctorInfoService extends BaseService {
|
|
|
}
|
|
|
|
|
|
//验证签名( ( 带多服务器负载均衡) )
|
|
|
public boolean verifySignOnMultiServer(String strSignData,String strCertData,String strOriginalData) throws Exception{
|
|
|
public boolean verifySignOnMultiServer(String strSignData,String strCertData,String strOriginalData,String prescriptionCode) throws Exception{
|
|
|
|
|
|
String url = jwUrl+"/third/prescription/VerifySignOnMultiServer";
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
params.add(new BasicNameValuePair("strSignData",strSignData));
|
|
|
params.add(new BasicNameValuePair("strCertData",strCertData));
|
|
|
params.add(new BasicNameValuePair("strOriginalData",MD5.GetMD5Code(strOriginalData)));
|
|
|
params.add(new BasicNameValuePair("prescriptionCode",prescriptionCode));
|
|
|
String response = HttpClientUtil.post(url, params, "UTF-8");
|
|
|
if (!StringUtils.isEmpty(response)){
|
|
|
JSONObject responseObject = new JSONObject(response);
|