Commit c3f95aa9ee14726d204f8a1d195adbf63bebc874
Committed by
Gitee
!399 解决操作日志记录报错的问题
Merge pull request !399 from 麦克学IT/master
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-framework/yudao-spring-boot-starter-biz-operatelog/src/main/java/cn/iocoder/yudao/framework/operatelog/core/aop/OperateLogAspect.java
| @@ -196,7 +196,7 @@ public class OperateLogAspect { | @@ -196,7 +196,7 @@ public class OperateLogAspect { | ||
| 196 | operateLogObj.setName(operateLog.name()); | 196 | operateLogObj.setName(operateLog.name()); |
| 197 | } | 197 | } |
| 198 | if (StrUtil.isEmpty(operateLogObj.getName()) && operation != null) { | 198 | if (StrUtil.isEmpty(operateLogObj.getName()) && operation != null) { |
| 199 | - operateLogObj.setName(operation.description()); | 199 | + operateLogObj.setName(operation.summary()); |
| 200 | } | 200 | } |
| 201 | // type 属性 | 201 | // type 属性 |
| 202 | if (operateLog != null && ArrayUtil.isNotEmpty(operateLog.type())) { | 202 | if (operateLog != null && ArrayUtil.isNotEmpty(operateLog.type())) { |