内网开发

This commit is contained in:
2023-10-26 21:02:51 +08:00
parent 368ca335fe
commit 4e190cec87
308 changed files with 7135 additions and 2175 deletions

View File

@@ -39,6 +39,10 @@ public class ResponseVO<T> {
return new ResponseVO(enums.getCode(), enums.getError());
}
public static ResponseVO srsOkResponse() {
return new ResponseVO(0, "success");
}
public boolean isOk(){
return this.code == 200;
}
@@ -50,6 +54,7 @@ public class ResponseVO<T> {
// this.data = null;
}
public ResponseVO success(){
this.code = 200;
this.msg = "success";
@@ -62,5 +67,5 @@ public class ResponseVO<T> {
this.data = data;
return this;
}
}