|
@@ -251,7 +251,7 @@ static downloadManager * cur_downloadManager = nil;
|
|
|
|
|
|
_curDownloadFileModel.curDownloadStateType = downloadStateUploading;
|
|
|
|
|
|
- [[NSNotificationCenter defaultCenter] postNotificationName:downloadFileBeginNotification object:_curDownloadFileModel];
|
|
|
+ [[webSocketManager shareInstance] begindownloadFileFunBy:_curDownloadFileModel];
|
|
|
}
|
|
|
|
|
|
- (void)DownloadFileDoneOneFileFun
|
|
@@ -553,7 +553,7 @@ static downloadManager * cur_downloadManager = nil;
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- [[NSNotificationCenter defaultCenter] postNotificationName:downloadFileBeginNotification object:_curDownloadFileModel];
|
|
|
+ [[webSocketManager shareInstance] begindownloadFileFunBy:_curDownloadFileModel];
|
|
|
}
|
|
|
|
|
|
- (BOOL)checkDownloadingFun
|