实现页面模板与用户管理页面基本功能

Signed-off-by: luorijun <luorijun@outlook.com>
This commit is contained in:
2025-12-29 18:01:16 +08:00
parent f950906f00
commit 37aaff439a
21 changed files with 1117 additions and 158 deletions

7
src/actions/user.ts Normal file
View File

@@ -0,0 +1,7 @@
import type { PageRecord } from "@/lib/api"
import type { User } from "@/models/user"
import { callByUser } from "./base"
export async function getPageUsers(params: { page: number; size: number }) {
return callByUser<PageRecord<User>>("/api/user/list", params)
}