Commit 8318f75c authored by 赵啸非's avatar 赵啸非

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

parent 48780549
......@@ -110,13 +110,10 @@ public class ControllerScanUtil {
boolean unAuth = method.isAnnotationPresent(UnAuth.class);
if (unAuth) {
//判断下 是否含有list 如果不包含 则返回
boolean mExits = method.isAnnotationPresent(RequestMapping.class);
if (mExits) {
RequestMapping requestMapping = method.getAnnotation(RequestMapping.class);
String s = requestMapping.value()[0];
log.info("unauth path:{}",s);
boolean mExits2 = method.isAnnotationPresent(PostMapping.class);
if (mExits2) {
PostMapping postMapping = method.getAnnotation(PostMapping.class);
String s =postMapping.value()[0];
if(!"list".equalsIgnoreCase(s)){
continue;
}
......
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