Commit 1706de8a authored by 赵啸非's avatar 赵啸非

每天早上定时添加考勤记录

parent 59416099
......@@ -109,7 +109,17 @@ public class ControllerScanUtil {
for (Method method : methods) {
boolean unAuth = method.isAnnotationPresent(UnAuth.class);
if (unAuth) {
continue;
//判断下 是否含有list 如果不包含 则返回
boolean mExits = method.isAnnotationPresent(RequestMapping.class);
if (mExits) {
RequestMapping requestMapping = method.getAnnotation(RequestMapping.class);
String s = requestMapping.value()[0];
if(!s.contains("list")){
continue;
}
}else{
continue;
}
}
boolean mExits = method.isAnnotationPresent(RequestMapping.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment