Commit a31887568a03dc70cc9b76e0a0a4430005f6c803
Committed by
Gitee
!422 feat: 修改错误注释
Merge pull request !422 from 与或非/feat/20230224
Showing
1 changed file
with
3 additions
and
3 deletions
yudao-framework/yudao-spring-boot-starter-biz-operatelog/src/main/java/cn/iocoder/yudao/framework/operatelog/core/annotations/OperateLog.java
| 1 | package cn.iocoder.yudao.framework.operatelog.core.annotations; | 1 | package cn.iocoder.yudao.framework.operatelog.core.annotations; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.framework.operatelog.core.enums.OperateTypeEnum; | 3 | import cn.iocoder.yudao.framework.operatelog.core.enums.OperateTypeEnum; |
| 4 | -import io.swagger.v3.oas.annotations.tags.Tag; | ||
| 5 | import io.swagger.v3.oas.annotations.Operation; | 4 | import io.swagger.v3.oas.annotations.Operation; |
| 5 | +import io.swagger.v3.oas.annotations.tags.Tag; | ||
| 6 | 6 | ||
| 7 | import java.lang.annotation.ElementType; | 7 | import java.lang.annotation.ElementType; |
| 8 | import java.lang.annotation.Retention; | 8 | import java.lang.annotation.Retention; |
| @@ -23,13 +23,13 @@ public @interface OperateLog { | @@ -23,13 +23,13 @@ public @interface OperateLog { | ||
| 23 | /** | 23 | /** |
| 24 | * 操作模块 | 24 | * 操作模块 |
| 25 | * | 25 | * |
| 26 | - * 为空时,会尝试读取 {@link Api#value()} 属性 | 26 | + * 为空时,会尝试读取 {@link Tag#name()} 属性 |
| 27 | */ | 27 | */ |
| 28 | String module() default ""; | 28 | String module() default ""; |
| 29 | /** | 29 | /** |
| 30 | * 操作名 | 30 | * 操作名 |
| 31 | * | 31 | * |
| 32 | - * 为空时,会尝试读取 {@link ApiOperation#value()} 属性 | 32 | + * 为空时,会尝试读取 {@link Operation#summary()} 属性 |
| 33 | */ | 33 | */ |
| 34 | String name() default ""; | 34 | String name() default ""; |
| 35 | /** | 35 | /** |