|
@@ -792,7 +792,7 @@ typedef NS_ENUM(NSInteger, CHOOSETYPE) {
|
|
|
}
|
|
|
|
|
|
- (void)downloadFileWithUrl:(NSString *)fileUrl parm:(NSDictionary *)parm {
|
|
|
- [LOADING_MANAGER showCustomLoading:@"文件下载中"];
|
|
|
+ [LOADING_MANAGER showCustomLoading:@"下载中"];
|
|
|
[KSNetworkingManager downloadFileRequestWithFileUrl:fileUrl progress:^(int64_t bytesRead, int64_t totalBytes) {
|
|
|
// 显示进度
|
|
|
NSInteger progress = (NSInteger)(bytesRead*1.0 / totalBytes) * 100;
|
|
@@ -914,7 +914,7 @@ typedef NS_ENUM(NSInteger, CHOOSETYPE) {
|
|
|
|
|
|
|
|
|
- (void)downFile:(NSString *)fileUrl {
|
|
|
- [LOADING_MANAGER showCustomLoading:@"文件下载中..."];
|
|
|
+ [LOADING_MANAGER showCustomLoading:@"下载中"];
|
|
|
[KSNetworkingManager downloadFileRequestWithFileUrl:fileUrl progress:^(int64_t bytesRead, int64_t totalBytes) {
|
|
|
|
|
|
} success:^(NSURL * _Nonnull fileUrl) {
|