action.setMethod(methodName);
action.setName(actionName);
action.setReqMethod(reqMethod);
// 读取@ActionLevel注解
ActionLevel actionLevel = cls.getAnnotation(ActionLevel.class);
if (actionLevel == null)
actionLevel = m.getAnnotation(ActionLevel.class);
int level = 1;
if (actionLevel != null)
level = actionLevel.value();
action.setLevel(String.valueOf(level));
// 读取@Produces注解
Produces producesAnn = m.getAnnotation(Produces.class);