易捷正式环境代码20230725

This commit is contained in:
zhanglei 2023-07-25 16:25:31 +08:00
parent f08b1b6fde
commit c4a93ea1aa
2 changed files with 6 additions and 4 deletions

View File

@ -159,9 +159,9 @@ public class IdentityAlphaVerification {
if(null != queryResult){
logger.info("IdentityAlphaVerificationDoIdentityVerification --【info】--已身份校验过:"+fullNamesArr[i]);
if(i == fullNamesArr.length-1){
res += fullNamesArr[i]+ ":身份校验成功";
res += fullNamesArr[i]+ ":身份校验成功,请点击详情查看!";
}else {
res += fullNamesArr[i]+ ":身份校验成功\n";
res += fullNamesArr[i]+ ":身份校验成功,请点击详情查看!\n";
}
continue;
}
@ -179,9 +179,9 @@ public class IdentityAlphaVerification {
continue;
}else {
if(i == fullNamesArr.length-1){
res += fullNamesArr[i]+ ":身份校验成功";
res += fullNamesArr[i]+ ":身份校验成功,请点击详情查看!";
}else {
res += fullNamesArr[i]+ ":身份校验成功\n";
res += fullNamesArr[i]+ ":身份校验成功,请点击详情查看!\n";
}
}
saveIdentityRes(tx, fullNamesArr[i], certIdsArr[i], httpRes);

View File

@ -27,6 +27,7 @@ public class EJQuestClient {
* @return
*/
public static String httpIdentityUser(String name, String idCard){
logger.info("EJQuestClientErrorApplyIdentity 身份校验: name" + name + "idCard" + idCard);
String applyRes = createApply();
if(null == applyRes){
return null;
@ -136,6 +137,7 @@ public class EJQuestClient {
authApplyRetainData.setName(name);
authApplyRetainData.setIdNo(idCard);
String strAuthApplyRetainData = JSONUtil.toJson(authApplyRetainData);
logger.info("EJQuestClientErrorApplyIdentity 身份校验: 核心请求参数:" + strAuthApplyRetainData);
byte[] res = Config.signService.encryptAES(Config.PUBLIC_ENCRYPT_KEY, strAuthApplyRetainData.getBytes());
req.getBizData().setAuthApplyRetainData(EncodesUtil.encodeBase64(res));
String createApplyJson = JSONUtil.toJson(req); //ת»»³Éjson¸ñʽ