罗广辉
2025-10-23 2a19fd53d6e0535cd54c5e6fd1dd180c30a6fb85
1
2
3
4
5
6
7
8
import { post, upload } from '@/utils/request'
 
// 文件上传
export const uploadFile = filePath =>
  upload('/common/upload', { filePath, name: 'file' })
 
// 发送验证码
export const sendCode = data => post('/sendCode', { data })