mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
解决操作日志记录报错的问题
javax.validation.ConstraintViolationException: createOperateLog.arg0.name: 操作名
This commit is contained in:
parent
5addbb23d2
commit
c3836ca98b
@ -196,7 +196,7 @@ public class OperateLogAspect {
|
||||
operateLogObj.setName(operateLog.name());
|
||||
}
|
||||
if (StrUtil.isEmpty(operateLogObj.getName()) && operation != null) {
|
||||
operateLogObj.setName(operation.description());
|
||||
operateLogObj.setName(operation.summary());
|
||||
}
|
||||
// type 属性
|
||||
if (operateLog != null && ArrayUtil.isNotEmpty(operateLog.type())) {
|
||||
|
Loading…
Reference in New Issue
Block a user