Industrial-image-management.../src/apis/area/index.ts

10 lines
277 B
TypeScript
Raw Normal View History

2025-06-27 19:54:42 +08:00
import type * as T from './type'
import http from '@/utils/http'
export type * from './type'
/** @desc 获取地区列表 */
export const getAreaList = (params: { type: 'province' | 'city' | 'area', code?: string }) => {
return http.get<T.AreaItem>('/area/list', params)
}