|
@@ -155,9 +155,13 @@
|
|
|
} else {
|
|
} else {
|
|
|
if (self.r) {
|
|
if (self.r) {
|
|
|
|
|
|
|
|
|
|
+ NSString *filePath = self.fileCachePath;
|
|
|
|
|
+ if (!filePath) {
|
|
|
|
|
+ filePath = @"";
|
|
|
|
|
+ }
|
|
|
NSMutableDictionary *resutlDic = [@{
|
|
NSMutableDictionary *resutlDic = [@{
|
|
|
@"result" : @2,
|
|
@"result" : @2,
|
|
|
- @"path" : self.fileCachePath,
|
|
|
|
|
|
|
+ @"path" : filePath,
|
|
|
@"msg" : @"download complete"
|
|
@"msg" : @"download complete"
|
|
|
} mutableCopy];
|
|
} mutableCopy];
|
|
|
self.r(resutlDic);
|
|
self.r(resutlDic);
|