add: 目标crud

This commit is contained in:
kkunkka
2025-10-10 11:40:34 +08:00
parent 9e20d0f5f8
commit f86462bb24
8 changed files with 139 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
package com.dota.nexus.entity;
import lombok.Data;
@Data
public class R {
private Integer code;
private String msg;
private Object data;
public static R ok() {
return ok(null);
}
public static R ok(Object data) {
var r = new R();
r.setCode(200);
r.setMsg("ok");
r.setData(data);
return r;
}
}