import http from '../../index'
import type { UploadRequest } from './type.d'

export const sysFileUploadApi = (data: UploadRequest) => {
  return http.post({
    url: '/admin/sys-file/upload',
    data,
  })
}
