|
|
@@ -119,7 +119,7 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
return ResultCode.FACEAUTH_FAIL;
|
|
|
}
|
|
|
|
|
|
- if (imageSingle(base)){
|
|
|
+ if (!imageSingle(base)){
|
|
|
return ResultCode.SINGLE_PERSON;
|
|
|
}
|
|
|
|
|
|
@@ -239,7 +239,7 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
log.info("base64转图片异常");
|
|
|
return ResultCode.FACEAUTH_FAIL;
|
|
|
}
|
|
|
- if (imageSingle(base)){
|
|
|
+ if (!imageSingle(base)){
|
|
|
return ResultCode.SINGLE_PERSON;
|
|
|
}
|
|
|
boolean redisFlag = (count != null && count >= 2);
|