完成资源的增加和查询

This commit is contained in:
2025-05-12 20:53:10 +08:00
parent 2a1e0d45dd
commit bb054f7f5a
14 changed files with 1145 additions and 10 deletions

View File

@@ -1,9 +1,7 @@
"use client"
import { list, UserListParams, UserListResponse } from '@/lib/api/admin/user'
import { ApiError } from '@/lib/api/fetcher'
import { useCallback } from 'react'
import { toast } from 'sonner'
import useSWR from 'swr'
export function useUserList(params?: UserListParams) {