mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
【同步】BOOT 和 CLOUD 的功能
This commit is contained in:
parent
d87d51b701
commit
625265b11d
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -90,7 +90,7 @@ public class ApiAccessLogInterceptor implements HandlerInterceptor {
|
||||
.filter(i -> clazzContents.get(i).contains(" " + method.getName() + "(")) // 简单匹配,不考虑方法重名
|
||||
.mapToObj(i -> i + 1) // 行号从 1 开始
|
||||
.findFirst();
|
||||
if (lineNumber.isEmpty()) {
|
||||
if (!lineNumber.isPresent()) {
|
||||
return;
|
||||
}
|
||||
// 打印结果
|
||||
|
Loading…
Reference in New Issue
Block a user