MrShi
8 天以前 cb94ff4f0a46eb74c21dd7b34b8d958ef9a9f11c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { ICommonAPIParams } from '../../constant/types';
/**
 * 下载文件 请求参数定义
 * @apiName downloadFile
 */
export interface IUnionDownloadFileParams extends ICommonAPIParams {
    url: string;
    header?: {};
}
/**
 * 下载文件 返回结果定义
 * @apiName downloadFile
 */
export interface IUnionDownloadFileResult {
    filePath?: string;
}
/**
 * 下载文件
 * @apiName downloadFile
 */
export declare function downloadFile$(params: IUnionDownloadFileParams): Promise<IUnionDownloadFileResult>;
export default downloadFile$;