16 lines
329 B
TypeScript
16 lines
329 B
TypeScript
import request from '@/utils/http'
|
|
|
|
export type EthnicOption = {
|
|
id: string
|
|
ethnicName: string
|
|
ethnicCode: string
|
|
orderNum?: number | null
|
|
}
|
|
|
|
export function fetchEthnicList(params?: { keyword?: string; limit?: number }) {
|
|
return request.get<{ list: EthnicOption[] }>({
|
|
url: '/web/admin/ethnics',
|
|
params
|
|
})
|
|
}
|