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
@@ -6,10 +6,10 @@
// Copyright © 2017年 lianlian. All rights reserved.
//
#import "BaseVIewContorller.h"
#import "BaseViewController.h"
#import "IfishShopInfo.h"
@interface IfishShopDetailViewController : BaseVIewContorller
@interface IfishShopDetailViewController : BaseViewController
@property (nonatomic,strong) IfishShopInfo *shopInfo;
@end
@@ -10,7 +10,6 @@
#import "ShopDetailViewfirstCell.h"
#import "ShopDetailThredViewCell.h"
#import "ShopDetailCodeFirstCell.h"
#import "IfishSessionViewController.h"
#import "MineKanHuViewController.h"
#import "GoNetShopViewCell.h"
#import "ShopInfosViewCell.h"
@@ -312,32 +311,6 @@
-(void)ziXunBtnAction
{
UserModel*model=[dataContorl getUserInfo];
NSString *myAcount = [NSString stringWithFormat:@"%@",model.userId];
NSString *tarGetAcount = [NSString stringWithFormat:@"%@",self.shopInfo.userId];
if ([myAcount isEqualToString:tarGetAcount]) {
[self.view makeToast:@"不能和自己聊天哦"];
return;
}
[[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];
[self.navigationController pushViewController:vc animated:YES];
}else{
NSLog(@"登录失败");
}
}];
}
#pragma mark - 看护action
@@ -6,8 +6,8 @@
// Copyright © 2017年 lianlian. All rights reserved.
//
#import "BaseVIewContorller.h"
#import "BaseViewController.h"
@interface KanHuFuWuViewController : BaseVIewContorller
@interface KanHuFuWuViewController : BaseViewController
@end