日志注解支持排除指定的请求参数

This commit is contained in:
RuoYi
2023-02-20 16:25:40 +08:00
parent a5f95eddab
commit 61caa7966b
2 changed files with 15 additions and 9 deletions

View File

@ -20,7 +20,7 @@ import com.ruoyi.common.enums.OperatorType;
public @interface Log
{
/**
* 模块
* 模块
*/
public String title() default "";
@ -43,4 +43,9 @@ public @interface Log
* 是否保存响应的参数
*/
public boolean isSaveResponseData() default true;
/**
* 排除指定的请求参数
*/
public String[] excludeParamNames() default {};
}