1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import { ICommonAPIParams } from '../../constant/types';
| /**
| * 上传文件 请求参数定义
| * @apiName uploadFile
| */
| export interface IUnionUploadFileParams extends ICommonAPIParams {
| url: string;
| header?: {};
| fileName: string;
| filePath: string;
| fileType: string;
| formData?: {};
| }
| /**
| * 上传文件 返回结果定义
| * @apiName uploadFile
| */
| export interface IUnionUploadFileResult {
| data?: string;
| header?: {};
| statusCode?: string;
| }
| /**
| * 上传文件
| * @apiName uploadFile
| */
| export declare function uploadFile$(params: IUnionUploadFileParams): Promise<IUnionUploadFileResult>;
| export default uploadFile$;
|
|