|
@@ -215,8 +215,8 @@ public class RetrieveTTQFApi {
|
|
|
throw new SystemException("用户身份证有效日期不全,请检查");
|
|
throw new SystemException("用户身份证有效日期不全,请检查");
|
|
|
}
|
|
}
|
|
|
presignModel.setNotifyUrl(PayConstantStatus.getUserSignNotifyUrl());
|
|
presignModel.setNotifyUrl(PayConstantStatus.getUserSignNotifyUrl());
|
|
|
- for (EsmUserImageQueryVo item : esmUserImageQueryVo) {
|
|
|
|
|
- try {
|
|
|
|
|
|
|
+ try {
|
|
|
|
|
+ for (EsmUserImageQueryVo item : esmUserImageQueryVo) {
|
|
|
if (StringUtils.isEmpty(item.getPath())) {
|
|
if (StringUtils.isEmpty(item.getPath())) {
|
|
|
throw new SystemException("用户身份证影像资料不存在,请检查");
|
|
throw new SystemException("用户身份证影像资料不存在,请检查");
|
|
|
}
|
|
}
|
|
@@ -229,10 +229,10 @@ public class RetrieveTTQFApi {
|
|
|
} else if (DocumentClass.SFZ_02.getCode().equals(item.getType())) {
|
|
} else if (DocumentClass.SFZ_02.getCode().equals(item.getType())) {
|
|
|
presignModel.setIdCardPicBFileId(testPictureUpload(encoded));
|
|
presignModel.setIdCardPicBFileId(testPictureUpload(encoded));
|
|
|
}
|
|
}
|
|
|
- } catch (Exception e) {
|
|
|
|
|
- log.error("获取影像信息错误:{}", e.getMessage());
|
|
|
|
|
- e.printStackTrace();
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ }catch (Exception e){
|
|
|
|
|
+ log.error("获取影像信息错误:{}", e.getMessage());
|
|
|
|
|
+ throw new SystemException("获取影像信息错误:"+e.getMessage());
|
|
|
}
|
|
}
|
|
|
// PresignModel model = PresignModel.builder().name("杨晓").idCardNo("11010219900131252X").mobile("13092411724")
|
|
// PresignModel model = PresignModel.builder().name("杨晓").idCardNo("11010219900131252X").mobile("13092411724")
|
|
|
// .bankCardNo("6225880165591124").expiryEnd("2030-03-18" ).expiryStart("2020-03-18").idCardPicAFileId("1362670410277076994").idCardPicBFileId("1362670410277076994").build();
|
|
// .bankCardNo("6225880165591124").expiryEnd("2030-03-18" ).expiryStart("2020-03-18").idCardPicAFileId("1362670410277076994").idCardPicBFileId("1362670410277076994").build();
|
|
@@ -256,7 +256,7 @@ public class RetrieveTTQFApi {
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
log.error("失败{}", response);
|
|
log.error("失败{}", response);
|
|
|
- return response.getBizMsg();
|
|
|
|
|
|
|
+ throw new SystemException("失败:" + response.getBizMsg());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -281,7 +281,7 @@ public class RetrieveTTQFApi {
|
|
|
public static ContractH5Response contractH5(String idCardNo) {
|
|
public static ContractH5Response contractH5(String idCardNo) {
|
|
|
return tangClient.execute(ContractH5Request.builder()
|
|
return tangClient.execute(ContractH5Request.builder()
|
|
|
.requestId(System.currentTimeMillis() + "").bizModel(ContractH5Model.builder()
|
|
.requestId(System.currentTimeMillis() + "").bizModel(ContractH5Model.builder()
|
|
|
- .idCardNo(idCardNo).mchReturnUrl(PayConstantStatus.getUserSignNotifyUrl()).build())
|
|
|
|
|
|
|
+ .idCardNo(idCardNo).mchReturnUrl(PayConstantStatus.getSignedSuccessfullyPng()).build())
|
|
|
.build());
|
|
.build());
|
|
|
|
|
|
|
|
}
|
|
}
|