mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
优化ApiArgumentResolver
This commit is contained in:
@@ -23,9 +23,6 @@ public class ApiArgumentResolver implements HandlerMethodArgumentResolver {
|
||||
|
||||
@Override
|
||||
public boolean supportsParameter(MethodParameter methodParameter) {
|
||||
if (methodParameter == null) {
|
||||
return false;
|
||||
}
|
||||
boolean hasAnnotation = methodParameter.getMethodAnnotation(ApiMapping.class) != null
|
||||
|| methodParameter.getMethodAnnotation(ApiAbility.class) != null;
|
||||
// 有注解
|
||||
|
Reference in New Issue
Block a user