初始化
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.njcn.web.controller;
|
||||
|
||||
|
||||
import com.njcn.common.utils.ReflectCommonUtil;
|
||||
|
||||
/**
|
||||
* @author hongawen
|
||||
* @version 1.0.0
|
||||
* @date 2021年04月21日 14:21
|
||||
*/
|
||||
public class BaseController {
|
||||
|
||||
|
||||
/**
|
||||
* 获取当前类指定方法上@ApiOperate内容
|
||||
* @param methodName 方法名
|
||||
*/
|
||||
public String getMethodDescribe(String methodName){
|
||||
return ReflectCommonUtil.getMethodDescribeByClassAndMethodName(this.getClass(),methodName);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user