if(handler instanceof HandlerMethod){
HandlerMethod handlerMethod = (HandlerMethod)handler;
MethodParameter[] methodParameters = handlerMethod.getMethodParameters();
for(MethodParameter methodParameter : methodParameters){
System.out.println(methodParameter.getParameterName());
}
}
时间: 2024-10-08 00:06:34