|  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | public class VerificationResult { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private boolean result; | 
|---|
|  |  |  | private boolean judgeResult; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private String  msg; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static VerificationResult buildVerificationResult(boolean result){ | 
|---|
|  |  |  | public static VerificationResult buildVerificationResult(boolean judgeResult){ | 
|---|
|  |  |  | VerificationResult obj=new VerificationResult(); | 
|---|
|  |  |  | obj.result=result; | 
|---|
|  |  |  | obj.judgeResult =judgeResult; | 
|---|
|  |  |  | return obj ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static VerificationResult buildVerificationResult(boolean result,String msg){ | 
|---|
|  |  |  | public static VerificationResult buildVerificationResult(boolean judgeResult,String msg){ | 
|---|
|  |  |  | VerificationResult obj=new VerificationResult(); | 
|---|
|  |  |  | obj.result=result; | 
|---|
|  |  |  | obj.judgeResult =judgeResult; | 
|---|
|  |  |  | obj.msg=msg; | 
|---|
|  |  |  | return obj ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static VerificationResult buildVerificationResult(boolean result,Object  info){ | 
|---|
|  |  |  | public static VerificationResult buildVerificationResult(boolean judgeResult,Object  info){ | 
|---|
|  |  |  | VerificationResult obj=new VerificationResult(); | 
|---|
|  |  |  | obj.result=result; | 
|---|
|  |  |  | obj.judgeResult =judgeResult; | 
|---|
|  |  |  | obj.info=info; | 
|---|
|  |  |  | return obj ; | 
|---|
|  |  |  | } | 
|---|