Commit c7c804e1 authored by 黎博's avatar 黎博

修改vcc造数据报错

parent b3463f74
......@@ -133,13 +133,13 @@ public class VccController {
// 身份证正面
String uploadFrontResult = Vcc.uploadFrontIdCardNew(namespace, vccToken, uuid, vccChannel);
if (!JsonPath.read(uploadFrontResult, "$.data").toString().equals("true")) {
return Result.buildErrorStateResult("身份证正面上传失败,请查看operator-sys服务日志", false);
if (JsonPath.read(uploadFrontResult, "$.business_code").toString().equals("1")) {
return Result.buildErrorStateResult(uploadFrontResult, false);
}
// 身份证反面
String uploadBackResult = Vcc.uploadBackIdCardNew(namespace, vccToken, uuid, vccChannel);
if (!JsonPath.read(uploadBackResult, "$.data").toString().equals("true")) {
return Result.buildErrorStateResult("身份证反面上传失败,请查看operator-sys服务日志", false);
if (JsonPath.read(uploadBackResult, "$.business_code").toString().equals("1")) {
return Result.buildErrorStateResult(uploadBackResult, false);
}
// 放置身份证重复
Vcc.modifyExistIdNo(namespace);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment