From 4aeed2fc76be6749888e9982d8902b520c650d71 Mon Sep 17 00:00:00 2001
From: lpw
Date: Tue, 21 Jun 2022 12:33:39 +0800
Subject: [PATCH] 2.6.0

---
 frameworks/WACommon.framework/Headers/WADownloadHandler.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/frameworks/WACommon.framework/Headers/WADownloadHandler.h b/frameworks/WACommon.framework/Headers/WADownloadHandler.h
index f82c912..991e42d 100644
--- a/frameworks/WACommon.framework/Headers/WADownloadHandler.h
+++ b/frameworks/WACommon.framework/Headers/WADownloadHandler.h
@@ -10,12 +10,12 @@
 
 @class AFHTTPRequestOperation;
 @interface WADownloadHandler : NSObject
-+ (void)downloadFileWithOption:(NSDictionary *)paramDic
++ (NSURLSessionDownloadTask *)downloadFileWithOption:(NSDictionary *)paramDic
                  withInferface:(NSString*)requestURL
                      savedPath:(NSString*)savedPath
                         method:(NSString*)method
-               downloadSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
-               downloadFailure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
+                       success:(void (^)(NSURLResponse *response, NSURL *filePath))success
+                       failure:(void (^)(NSURLResponse *response, NSError *error))failure
                       progress:(void (^)(float progress))progress;
 @end
 

--
Gitblit v1.8.0