import { setRequest } from "@/utils/httpRequest";
/**
 * 10.1 单文件上传
 */
export const up_upfile = (data) => setRequest("up/upfile", data);

/**
 * 10.2 多文件上传
 */
export const up_upmore = (data) => setRequest("up/upmore", data);

/**
 * 10.3.1 分片上传-上传分片
 */
export const chunk_up = (data) => setRequest("chunk/up", data);

/**
 * 10.3.2 分片上传-合并
 */
export const chunk_merge = (data) => setRequest("chunk/merge", data);

/**
 * 10.3.3 分片上传-合并app
 */
export const chunk_merge_app = (data) => setRequest("chunk/merge_app", data);

/**
 * 10.4 文件下载
 */
export const dn_down_webfile = (data) => setRequest("dn/down_webfile", data);
