fix: generic fix

main
Jonguk. Lim 1 week ago
parent e1470bc6b6
commit e51a46b34c

@ -2,20 +2,16 @@ package cokr.xit.adds.core.model;
import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.*; import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.*;
import java.time.LocalDateTime; import java.time.*;
import java.time.format.DateTimeFormatter; import java.time.format.*;
import java.util.Objects; import java.util.*;
import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.*;
import com.fasterxml.jackson.annotation.JsonRootName; import com.fasterxml.jackson.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.*;
import lombok.AccessLevel; import lombok.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/** /**
* <pre> * <pre>
@ -88,7 +84,7 @@ public class ApiBaseResponse<T> {
this.success = true; this.success = true;
this.code = resultCode.getStatusCode(); this.code = resultCode.getStatusCode();
this.message = resultCode.getMessage(); this.message = resultCode.getMessage();
this.data = null; this.data = data;
} }
public ApiBaseResponse(Integer code, String message) { public ApiBaseResponse(Integer code, String message) {

Loading…
Cancel
Save