perf: 去除多余的代码

Signed-off-by: runphp <runphp@qq.com>
pull/268/head
runphp 3 years ago committed by Gitee
parent c759728269
commit 7c18d36389
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -56,16 +56,8 @@ public class PreAuthorizeAspect
// 注解鉴权 // 注解鉴权
MethodSignature signature = (MethodSignature) joinPoint.getSignature(); MethodSignature signature = (MethodSignature) joinPoint.getSignature();
checkMethodAnnotation(signature.getMethod()); checkMethodAnnotation(signature.getMethod());
try // 执行原有逻辑
{ return joinPoint.proceed();
// 执行原有逻辑
Object obj = joinPoint.proceed();
return obj;
}
catch (Throwable e)
{
throw e;
}
} }
/** /**

Loading…
Cancel
Save