|
@@ -34,7 +34,7 @@ public class AdmResponse {
|
|
|
private List<?> content;
|
|
|
|
|
|
public static AdmResponse success() {
|
|
|
- return new AdmResponse(SUCCESS, null, null, null, null, null);
|
|
|
+ return new AdmResponse(SUCCESS, null, 0L, 1, 500, null);
|
|
|
}
|
|
|
|
|
|
public static AdmResponse failure(String message) {
|
|
@@ -42,7 +42,7 @@ public class AdmResponse {
|
|
|
}
|
|
|
|
|
|
public static AdmResponse success(List<?> content) {
|
|
|
- return new AdmResponse(SUCCESS, null, null, null, null, content);
|
|
|
+ return new AdmResponse(SUCCESS, null, content.size()*1L, 1, 500, content);
|
|
|
}
|
|
|
|
|
|
/**
|