diff --git a/src/main/java/cokr/xit/adds/core/model/ApiBaseResponse.java b/src/main/java/cokr/xit/adds/core/model/ApiBaseResponse.java index c27bf74..00fcb26 100644 --- a/src/main/java/cokr/xit/adds/core/model/ApiBaseResponse.java +++ b/src/main/java/cokr/xit/adds/core/model/ApiBaseResponse.java @@ -2,20 +2,16 @@ package cokr.xit.adds.core.model; import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.*; -import java.time.LocalDateTime; -import java.time.format.DateTimeFormatter; -import java.util.Objects; +import java.time.*; +import java.time.format.*; +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 lombok.AccessLevel; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Data; -import lombok.NoArgsConstructor; +import io.swagger.v3.oas.annotations.media.*; +import lombok.*; /** *
@@ -88,7 +84,7 @@ public class ApiBaseResponse{ this.success = true; this.code = resultCode.getStatusCode(); this.message = resultCode.getMessage(); - this.data = null; + this.data = data; } public ApiBaseResponse(Integer code, String message) {