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

注释

parent cc800603
...@@ -90,6 +90,7 @@ public class BehaviorInterceptor implements HandlerInterceptor { ...@@ -90,6 +90,7 @@ public class BehaviorInterceptor implements HandlerInterceptor {
} }
validateBehavior.setData(data); validateBehavior.setData(data);
boolean validate = behaviorContext.validate(validateBehavior); boolean validate = behaviorContext.validate(validateBehavior);
// 如果是图形验证码(type=1)验证失败,会抛出异常,这里返回false,是极光验证失败的
if(!validate){ if(!validate){
throw new SilentBizException(BizExceptionEnum.FAIL_JI_GUANG_VALIDATE); throw new SilentBizException(BizExceptionEnum.FAIL_JI_GUANG_VALIDATE);
} }
......
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