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:
parent
3cf088a0d8
commit
f90647eead
|
|
@ -102,14 +102,4 @@ public class R<T> implements Serializable
|
||||||
{
|
{
|
||||||
this.data = data;
|
this.data = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean isError()
|
|
||||||
{
|
|
||||||
return !isSuccess();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean isSuccess()
|
|
||||||
{
|
|
||||||
return R.SUCCESS == getCode();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue