You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
299 B
TypeScript

import { useAxios } from '@/hooks/web/useAxios'
import type { TableData } from './types'
const { request } = useAxios()
export const getTableListApi = ({ params }: AxiosConfig) => {
return request<{
total: number
list: TableData[]
}>({ url: '/example/list', method: 'get', params })
}