mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
style: 代码格式化
This commit is contained in:
parent
a372a09b18
commit
476bd43ab1
@ -35,7 +35,6 @@ public class CommonExceptionHandler {
|
|||||||
return RestResp.fail(e.getErrorCodeEnum());
|
return RestResp.fail(e.getErrorCodeEnum());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 处理系统异常
|
* 处理系统异常
|
||||||
* */
|
* */
|
||||||
|
@ -27,5 +27,4 @@ public class PageReqDto {
|
|||||||
* */
|
* */
|
||||||
private boolean fetchAll = false;
|
private boolean fetchAll = false;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ import lombok.Getter;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Http Rest 响应数据格式封装
|
* Http Rest 响应工具及数据格式封装
|
||||||
*
|
*
|
||||||
* @author xiongxiaoyang
|
* @author xiongxiaoyang
|
||||||
* @date 2022/5/11
|
* @date 2022/5/11
|
||||||
@ -78,4 +78,5 @@ public class RestResp<T> {
|
|||||||
public boolean isOk() {
|
public boolean isOk() {
|
||||||
return Objects.equals(this.code, ErrorCodeEnum.OK.getCode());
|
return Objects.equals(this.code, ErrorCodeEnum.OK.getCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user