UNPKG

ng-yunzai-mobile

Version:

1. 修改wechat.micro.ts

26 lines (25 loc) 706 B
import { HttpClient } from '@angular/common/http'; import { BaseClient } from "../../client/base.client"; export declare class UploadService { private http; private client; constructor(http: HttpClient, client: BaseClient); /** * 上传 * @param type 1:文件;2:拍照上传;3:拍照/文件 上传 */ uploadHandle(option: { type?: number; onOk?: (value: any) => void; }): void; /** * 上传文件 * @param file */ uploadFile(file: any): import("rxjs").Observable<any>; /** * 删除文件 * @param id 文件id */ deleteFile(id: string): import("rxjs").Observable<any>; }