/** * 图片上传接口 */ import { uploadImage as uploadImageUtil } from '../../utils/upload' import type { UploadResponse } from '../../types/workbench' /** * 上传图片 * @param filePath 文件路径 * @param businessType 业务类型模块,默认为 'image' */ export const uploadImage = (filePath: string, businessType: string | null): Promise => { return uploadImageUtil(filePath, businessType) }