|
@ -1408,6 +1408,15 @@ public class DoctorInfoService extends BaseService {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 请求 实名软证书并进行数字签名
|
|
|
* @param strUserIdcardNum
|
|
|
* @param strRealNameSoftCertCalledPasswd
|
|
|
* @param strOriginalData
|
|
|
* @param srcBusinessStreamNO
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public boolean requestRealNameSoftCertAndSign(String strUserIdcardNum,String strRealNameSoftCertCalledPasswd,String strOriginalData, String srcBusinessStreamNO) throws Exception{
|
|
|
|
|
|
String url = jwUrl+"/third/prescription/RequestRealNameSoftCertAndSign";
|
|
@ -1474,8 +1483,14 @@ public class DoctorInfoService extends BaseService {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
// //判断线上是否已经认证过(即是否设置过密码)
|
|
|
// public boolean iscertifiedAuthentication(S){
|
|
|
//
|
|
|
// }
|
|
|
//校验医师输入的CA证书是否正确
|
|
|
public boolean checkCertificate(String doctorCode,String certificateNum){
|
|
|
List<NameValuePair> params = new ArrayList<>();
|
|
|
String response = HttpClientUtil.post("http://120.77.209.211:5000/yueren/phonekey", params, "UTF-8");
|
|
|
int count = doctorDao.checkCertificate(doctorCode,certificateNum);
|
|
|
if(count>0){
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|
|
|
}
|
|
|
}
|