first commit

This commit is contained in:
编码猿
2024-09-27 01:31:25 +08:00
commit 07c46ac300
558 changed files with 37414 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import 'package:dio/dio.dart';
import 'package:peach/http/Dio.dart';
class DownloadService {
/// 下载图片
static Future downImage({ String url, Map<String, dynamic> params}) async {
return await HttpApi().get(
url: url,
params: params,
options: Options(responseType: ResponseType.bytes)
);
}
}