修复用户页面接口与字段问题

Signed-off-by: luorijun <luorijun@outlook.com>
This commit is contained in:
2025-12-30 14:40:07 +08:00
parent 37aaff439a
commit 419bc8bc3d
2 changed files with 20 additions and 7 deletions

View File

@@ -3,5 +3,5 @@ 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)
return callByUser<PageRecord<User>>("/api/user/page", params)
}