mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
bugfix: 日志模块记录问题
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user