bugfix: 日志模块记录问题

This commit is contained in:
2023-08-27 22:02:23 +08:00
parent 4fec2ddaf2
commit 16342ce131

View File

@@ -103,7 +103,7 @@ public class ControllerAop {
module = sysLog.module();
if (StringUtils.isEmpty(module)) {
SysLog classLog = AnnotationUtils.findAnnotation(method.getClass(), SysLog.class);
SysLog classLog = AnnotationUtils.findAnnotation(method.getDeclaringClass(), SysLog.class);
if (classLog != null) {
module = classLog.module();