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
@@ -7,7 +7,6 @@
//
#import "WhiteNavBaseViewController.h"
//同老版看护工作台 WorkbechViewController
#import "CertificationShopModel.h"
@interface IfishKanHuGuanLiViewController : WhiteNavBaseViewController
@property(nonatomic,strong) CertificationShopModel *shopsInfo;
@@ -9,8 +9,6 @@
#import "IfishKanHuGuanLiViewController.h"
#import "JHRefresh.h"
#import "ShopKanHuP2PViewController.h"
#import "NIMKit.h"
#import "IfishSessionViewController.h"
#import "KanHuGuanLi1ViewCell.h"
#import "KanHuGuanLiPictureViewCell.h"
@@ -331,32 +329,6 @@
-(void)chatBtnAction:(UIButton *)btn{
KanHuListModel *listmodel = self.kanHuListArr[btn.tag];
UserModel*model=[dataContorl getUserInfo];
NSString *myAcount = [NSString stringWithFormat:@"%@",model.userId];
NSString *tarGetAcount = [NSString stringWithFormat:@"%@",listmodel.userId];
[[NIMSDK sharedSDK].loginManager login:myAcount token:model.neteaseToken completion:^(NSError *error) {
if (!error) {
NSLog(@"登录成功");
//创建session
NIMSession *session = [NIMSession session:tarGetAcount type:NIMSessionTypeP2P];
//创建聊天页,这个页面继承自 NIMKit 中的组件 NIMSessionViewController
self.hidesBottomBarWhenPushed = YES;
IfishSessionViewController *vc = [[IfishSessionViewController alloc] initWithSession:session];
//vc.targetChatname = listmodel.nickName;
vc.navState = 1;
[self.navigationController pushViewController:vc animated:YES];
}else{
NSLog(@"登录失败");
}
}];
}