mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-16 04:13:03 +00:00
解决一些 warning jdk14对可序列化对象添加@Serial
This commit is contained in:
@@ -3,6 +3,7 @@ package cn.qaiu.vx.core.model;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@@ -13,6 +14,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class JsonResult<T> implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final int SUCCESS_CODE = 200;
|
||||
|
||||
Reference in New Issue
Block a user