From be8c526a454aa9081000d15f26bebdef8c183aea Mon Sep 17 00:00:00 2001
From: wsj <593216709@qq.com>
Date: Mon, 26 Oct 2026 23:34:23 +0800
Subject: [PATCH] feat: 提交
---
src/types/api.ts | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/types/api.ts b/src/types/api.ts
new file mode 100644
index 0000000..c7a7994
--- /dev/null
+++ b/src/types/api.ts
@@ -0,0 +1,8 @@
+/** 后端通用分页响应结构(PageResult)。 */
+export interface PageResult<T> {
+ page: number;
+ size: number;
+ total: number;
+ totalPages: number;
+ records: T[];
+}
--
Gitblit v1.9.3