修改了放心签名的认证方式
This commit is contained in:
parent
4767df4073
commit
6b2467eb9a
@ -31,6 +31,21 @@ public class Personal extends Base {
|
||||
return result;
|
||||
}
|
||||
|
||||
// 实名认证失败-切换为银行卡四要素认证
|
||||
if (result.getCode() == 50008){
|
||||
r.setAuthType("2");
|
||||
|
||||
jsonBody = JSONUtil.toJsonStr(r);
|
||||
log.info("获取app数据参数:{}",jsonBody);
|
||||
response = postJson(url,jsonBody,null);
|
||||
result = JSONUtil.toBean(response, RegisterResponse.class);
|
||||
if (result.getCode() != 10000) {
|
||||
if (result.getCode() == 50005) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!Objects.equals(result.getMessage(), "")){
|
||||
throw new BusinessException(result.getMessage());
|
||||
}else{
|
||||
|
||||
@ -38,4 +38,10 @@ public class RegisterRequest {
|
||||
* 1:允许(默认)
|
||||
*/
|
||||
private String allowModify = "0";
|
||||
|
||||
/**
|
||||
* 银行卡号
|
||||
* 当实名认证方式设置为2时必传
|
||||
*/
|
||||
private String bankCardNo;
|
||||
}
|
||||
|
||||
@ -160,6 +160,7 @@ public class ExpertFxqService {
|
||||
r.setName(casePlatformBank.getIdCardName());
|
||||
r.setMobile(expert.getMobile());
|
||||
r.setIdentNo(casePlatformBank.getIdCardNo());
|
||||
r.setBankCardNo(casePlatformBank.getBankCardNo());
|
||||
RegisterResponse personalRegister = personal.register(r);
|
||||
|
||||
String unionId = "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user