update version

This commit is contained in:
yuye
2019-11-30 18:20:59 +08:00
parent 7626c3ea09
commit 79ea619fb2
2 changed files with 17 additions and 1 deletions
@@ -69,6 +69,7 @@ public class LoadMarsApi {
marsMappingModel.setObject(obj);
marsMappingModel.setMethod(method.getName());
marsMappingModel.setCls(cls);
marsMappingModel.setExeMethod(method);
marsMappingModel.setReqMethod(getReqMethod(method));
/* 保存映射对象 */
@@ -2,6 +2,8 @@ package com.mars.mvc.model;
import com.mars.core.annotation.enums.ReqMethod;
import java.lang.reflect.Method;
/**
* 控制器映射实体
*
@@ -21,10 +23,15 @@ public class MarsMappingModel {
private ReqMethod reqMethod;
/**
* 映射的方法
* 映射的方法名称
*/
private String method;
/**
* 映射的方法
*/
private Method exeMethod;
/**
* 控制层class对象
*/
@@ -54,6 +61,14 @@ public class MarsMappingModel {
this.method = method;
}
public Method getExeMethod() {
return exeMethod;
}
public void setExeMethod(Method exeMethod) {
this.exeMethod = exeMethod;
}
public Class<?> getCls() {
return cls;
}