PageResponse修正

This commit is contained in:
2026-06-23 17:47:42 +08:00
parent ceeea2c451
commit 2ed4605a2c
+1 -1
View File
@@ -51,7 +51,7 @@ public class SimApiBaseResponse(int code = 200, string message = "成功")
/// <typeparam name="T"></typeparam> /// <typeparam name="T"></typeparam>
public class PageResponse<T> public class PageResponse<T>
{ {
public T? List { get; set; } public T[] List { get; set; } = [];
public int Page { get; set; } = 1; public int Page { get; set; } = 1;
public int Count { get; set; } = 20; public int Count { get; set; } = 20;
public int Total { get; set; } public int Total { get; set; }