1、变更推送为阿里云推,清除云信IM以及推送内容;

2、消息页面全新改版;
3、部分微小Bug修复
This commit is contained in:
wbzhan
2019-05-24 19:21:31 +08:00
parent c586949438
commit 25c051d5f1
1544 changed files with 17136 additions and 78376 deletions
@@ -36,17 +36,15 @@
#import "ICSDrawerController.h"
#import "UIView+ZYDraggable.h"
#import "UIAlertView+NTESBlock.h"
#import "PushMasssageWebViewController.h"
#import "IfishUserDefaultHelper.h"
#import "UINavigationBar+Background.h"
#import "MineKanHuViewController.h"
#import "MinekanHuNotSelectShopController.h"
#import "IfishSessionViewController.h"
#import "IfishUserObsever.h"
#import "QianDaoGiftView.h"
#import "IfishGoldAndExpTostView.h"
#import "MineHeaderNewItemsCell.h"
//#import "MineHeaderNewItemsCell.h"
#import "IfishMineGoldViewController.h"
#import "IifshMineDJViewController.h"
#import "WoDeRenWuViewController.h"
@@ -57,6 +55,7 @@
#import "IfishDatabaseManager.h"
#import <UMSocialCore/UMSocialCore.h>
#import "IfishSetViewController.h"
#import "IfishConnectUsViewController.h"
@interface IfishMeViewController ()<UITableViewDelegate,UITableViewDataSource,UIAlertViewDelegate,MineHeaderItemsDelegate>
@property(nonatomic,strong)UITableView *tableView;
@end
@@ -521,17 +520,14 @@
// webVC.pushtitle = NSLocalizedString(@"ifish_deviceuse", nil);
// [self.navigationController pushViewController:webVC animated:YES];
// self.hidesBottomBarWhenPushed = NO;
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:IFISH_DEVCEITROURL]];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:IFISH_DEVCEITROURL]];
}else if (indexPath.section == 3 && indexPath.row == 2){
//联系爱鱼奇
[self connectIfish];
//app 自用问题反馈接口已弃用, 使用云信IM
//self.hidesBottomBarWhenPushed = YES;
//SaySomethingViewController*sayVc=[[SaySomethingViewController alloc]init];
//[self.navigationController pushViewController:sayVc animated:YES];
//self.hidesBottomBarWhenPushed = NO;
//联系我们
self.hidesBottomBarWhenPushed = YES;
IfishConnectUsViewController *vc = InitObject(IfishConnectUsViewController);
[self.navigationController pushViewController:vc animated:YES];
self.hidesBottomBarWhenPushed = NO;
}else if (indexPath.section == 3 && indexPath.row == 0){
@@ -589,35 +585,6 @@
// _tableView.bounces = YES;
}
#pragma mark - 联系爱鱼奇
-(void)connectIfish{
UserModel*model=[[DataCenter defaultDtacenter]valueForKey:@"UserLogIn"];
NSString *myAcount = [NSString stringWithFormat:@"%@",model.userId];
NSString *tarGetAcount = @"1";
__weak typeof(self) weakself = self;
[[NIMSDK sharedSDK].loginManager login:myAcount token:model.neteaseToken completion:^(NSError *error) {
if (!error) {
NSLog(@"登录成功");
//创建session
NIMSession *session = [NIMSession session:tarGetAcount type:NIMSessionTypeP2P];
//创建聊天页,这个页面继承自 NIMKit 中的组件 NIMSessionViewController
weakself.hidesBottomBarWhenPushed = YES;
IfishSessionViewController *vc = [[IfishSessionViewController alloc] initWithSession:session];
vc.targetChatname = @"爱鱼奇官方";
[weakself.navigationController pushViewController:vc animated:YES];
weakself.hidesBottomBarWhenPushed = NO;
}else{
NSLog(@"登录失败");
}
}];
}
#pragma mark - mineHeaderItemsDelegate
//等级
-(void)tapDengjiAction{