ソースを参照

人脸比对得分改为80

gaoxinguang 2 年 前
コミット
8203252dac

+ 2 - 2
eladmin-system/src/main/java/me/zhengjie/base/util/JuheServiceUtil.java

@@ -99,9 +99,9 @@ public class JuheServiceUtil {
                     return thirdPartyInterfaceEntity;
                 }
                 String score = result.getString("score");
-                if (Integer.parseInt(score) < 70) {
+                if (Integer.parseInt(score) < 80) {
                     thirdPartyInterfaceEntity.setScore(score);
-                    thirdPartyInterfaceEntity.setMessage("比对分值小于70");
+                    thirdPartyInterfaceEntity.setMessage("比对分值小于80");
                     thirdPartyInterfaceEntity.setResult(0);
                     return thirdPartyInterfaceEntity;
                 }