|
@@ -430,29 +430,25 @@
|
|
|
#pragma mark 点击我的空间模块
|
|
|
- (void)didClickMySpaceFunBy:(NSInteger)tag
|
|
|
{
|
|
|
- if(tag !=1 ){
|
|
|
- if(!ksharedAppDelegate.cloudPhoneExtraFileListMod){
|
|
|
- if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
|
|
|
- [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
|
|
|
- }
|
|
|
- else{//链接了
|
|
|
- tryLinkNum ++;
|
|
|
- [[webSocketManager shareInstance] getExtraFilesListFun];
|
|
|
-
|
|
|
- if(tryLinkNum >= 3){
|
|
|
- tryLinkNum = 0;
|
|
|
- [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
- KWeakSelf
|
|
|
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
- [weakSelf didClickMySpaceFunBy:tag];
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+// if(tag ==1 ){
|
|
|
+// if(!ksharedAppDelegate.cloudPhoneExtraFileListMod){
|
|
|
+// //链接了
|
|
|
+// tryLinkNum ++;
|
|
|
+// [[webSocketManager shareInstance] getExtraFilesListFun];
|
|
|
+//
|
|
|
+// if(tryLinkNum >= 3){
|
|
|
+// tryLinkNum = 0;
|
|
|
+// [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
|
|
|
+// return;
|
|
|
+// }
|
|
|
+//
|
|
|
+// KWeakSelf
|
|
|
+// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+// [weakSelf didClickMySpaceFunBy:tag];
|
|
|
+// });
|
|
|
+// return;
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
if([AFNetworkReachabilityManager sharedManager].networkReachabilityStatus == AFNetworkReachabilityStatusNotReachable)
|
|
|
{
|
|
@@ -460,6 +456,11 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
|
|
|
+ [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
tryLinkNum = 0;
|
|
|
switch (tag)
|
|
|
{
|
|
@@ -509,6 +510,11 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
|
|
|
+ [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
switch (tag)
|
|
|
{
|
|
|
case 10:{
|