update ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/domain/R.java.

knife4j 不显示响应参数

Signed-off-by: 郭嘉 <349932065@qq.com>
This commit is contained in:
郭嘉 2022-09-16 11:10:30 +00:00 committed by Gitee
parent 3cf088a0d8
commit f90647eead
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 10 deletions

View File

@ -102,14 +102,4 @@ public class R<T> implements Serializable
{
this.data = data;
}
public Boolean isError()
{
return !isSuccess();
}
public Boolean isSuccess()
{
return R.SUCCESS == getCode();
}
}