Pre Merge pull request !268 from runphp/N/A

This commit is contained in:
runphp 2024-01-11 07:48:13 +00:00 committed by Gitee
commit a77dd1d51e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 10 deletions

View File

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