修复错误日志切面注释

This commit is contained in:
黄中 2023-06-06 15:24:27 +08:00
parent 5f8129d65b
commit 23e84c2b59

View File

@ -259,7 +259,7 @@ public class OperateLogAspect {
if (operateLog != null) { if (operateLog != null) {
return operateLog.enable(); return operateLog.enable();
} }
// 没有 @ApiOperation 注解的情况下只记录 POSTPUTDELETE 的情况 // 没有 @OperateLog 注解的情况下只记录 POSTPUTDELETE 的情况
return obtainFirstLogRequestMethod(obtainRequestMethod(joinPoint)) != null; return obtainFirstLogRequestMethod(obtainRequestMethod(joinPoint)) != null;
} }