调整列表字段和枚举值转换
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { PageRecord } from "@/lib/api"
|
||||
import type { User } from "@/models/user"
|
||||
import type { Trade } from "@/models/trade"
|
||||
import { callByUser } from "./base"
|
||||
|
||||
export async function getPageTrade(params: { page: number; size: number }) {
|
||||
return callByUser<PageRecord<User>>("/api/admin/trade/page", params)
|
||||
return callByUser<PageRecord<Trade>>("/api/admin/trade/page", params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user