Commit 82ff9f0da8a16bf7e7579b1a711d30ffd4f0e16c
1 parent
a8dee654
no message
Showing
2 changed files
with
20 additions
and
8 deletions
CNLiveBMineModule/Classes/Controller/CNLiveMineController.m
| ... | ... | @@ -39,14 +39,14 @@ static const CGFloat timeValue = 1.5; |
| 39 | 39 | #pragma mark - 加载数据 |
| 40 | 40 | - (void)loadData { |
| 41 | 41 | NSArray *data = @[ |
| 42 | - @{ | |
| 43 | - @"name":@"直播中心", | |
| 44 | - @"image":@"mine_zbzx", | |
| 45 | - }, | |
| 46 | - @{ | |
| 47 | - @"name":@"钱包", | |
| 48 | - @"image":@"mine_qb", | |
| 49 | - }, | |
| 42 | +// @{ | |
| 43 | +// @"name":@"直播中心", | |
| 44 | +// @"image":@"mine_zbzx", | |
| 45 | +// }, | |
| 46 | +// @{ | |
| 47 | +// @"name":@"钱包", | |
| 48 | +// @"image":@"mine_qb", | |
| 49 | +// }, | |
| 50 | 50 | @{ |
| 51 | 51 | @"name":@"设置", |
| 52 | 52 | @"image":@"mine_sz", | ... | ... |
CNLiveBMineModule/Classes/Setting/Controller/CNLiveSettingController.m
| ... | ... | @@ -10,6 +10,8 @@ |
| 10 | 10 | #import "MJExtension.h" |
| 11 | 11 | #import <SDWebImage/SDWebImage.h> |
| 12 | 12 | #import "QMUIKit.h" |
| 13 | +#import "TIMAdapter.h" | |
| 14 | +//#import "CommonLibrary.h" | |
| 13 | 15 | |
| 14 | 16 | #import "CNLiveUserAgreementManager.h" |
| 15 | 17 | #import "CNUserInfoManager.h" |
| ... | ... | @@ -312,6 +314,11 @@ static const NSInteger timeValue = 1.5; |
| 312 | 314 | // 清除本地缓存 |
| 313 | 315 | - (void)cleanLocalCache{ |
| 314 | 316 | [CNUserInfoManager loginOut]; |
| 317 | + [[IMAPlatform sharedInstance] logout:^{ | |
| 318 | + | |
| 319 | + } fail:^(int code, NSString *msg) { | |
| 320 | + | |
| 321 | + }]; | |
| 315 | 322 | [[SDImageCache sharedImageCache] clearMemory]; |
| 316 | 323 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ |
| 317 | 324 | [QMUITips showSucceed:@"清除成功" inView:self.view hideAfterDelay:timeValue]; |
| ... | ... | @@ -324,6 +331,11 @@ static const NSInteger timeValue = 1.5; |
| 324 | 331 | // 清除本地缓存 |
| 325 | 332 | + (void)cleanLocalCache{ |
| 326 | 333 | [CNUserInfoManager loginOut]; |
| 334 | + [[IMAPlatform sharedInstance] logout:^{ | |
| 335 | + | |
| 336 | + } fail:^(int code, NSString *msg) { | |
| 337 | + | |
| 338 | + }]; | |
| 327 | 339 | [[SDImageCache sharedImageCache] clearMemory]; |
| 328 | 340 | [[SDImageCache sharedImageCache] clearDiskOnCompletion:^{ |
| 329 | 341 | ... | ... |