Commit 76307384 authored by xuepeng.chang's avatar xuepeng.chang

feat : 验证错误

parent 4bae3566
......@@ -89,6 +89,10 @@ public class BehaviorInterceptor implements HandlerInterceptor {
}
validateBehavior.setData(data);
boolean validate = behaviorContext.validate(validateBehavior);
if(!validate){
throw new BizException(BizExceptionEnum.FAIL_VERIFY_CODE);
}
return behaviorContext.validate(validateBehavior);
}
......
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