|
|
|
@ -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.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <pre>
|
|
|
|
@ -88,7 +84,7 @@ public class ApiBaseResponse<T> {
|
|
|
|
|
this.success = true;
|
|
|
|
|
this.code = resultCode.getStatusCode();
|
|
|
|
|
this.message = resultCode.getMessage();
|
|
|
|
|
this.data = null;
|
|
|
|
|
this.data = data;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ApiBaseResponse(Integer code, String message) {
|
|
|
|
|