/**
 * 原始 HTTP 方法导出 — 供少量未纳入服务层的特殊端点使用
 * 优先使用 api-services.ts 中的领域服务
 */
import api from './api'

export const get = ((url: string, config?: any) => api.get(url, config)) as any
export const post = ((url: string, data?: any, config?: any) => api.post(url, data, config)) as any
export const put = ((url: string, data?: any, config?: any) => api.put(url, data, config)) as any
export const patch = ((url: string, data?: any, config?: any) => api.patch(url, data, config)) as any
export const del = ((url: string, config?: any) => api.delete(url, config)) as any
