请求进房的接口获取房间信息

This commit is contained in:
fengshuo
2021-10-18 19:10:13 +08:00
parent 1d9396b0b5
commit c66b79dbe0
56 changed files with 714 additions and 661 deletions

View File

@@ -33,6 +33,7 @@
#warning todo
#import "BaseNavigationController.h"
#import "XPRoomViewController.h"
#import "XPRoomModuleHelper.h"
@interface XPMineViewController ()<UITableViewDelegate, UITableViewDataSource, XPMineProtocol, XPMineMatchTableViewCellDelegate, XPMineHeadViewDelegate>
@@ -130,16 +131,16 @@
break;
case XPMineItemType_Account:
{
#warning to do
[[XPRoomModuleHelper shareHelper] enterRoomVCWithRoomUid:[NSString stringWithFormat:@"%ld", self.userInfo.uid] viewController:self];
return;
XPRoomViewController * roomVC = [[XPRoomViewController alloc] init];
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:roomVC];
nav.modalPresentationStyle = UIModalPresentationFullScreen;
[self.navigationController presentViewController:nav animated:YES completion:nil];
return;
#warning to do
XPMineRechargeViewController * rechargeVC = [[XPMineRechargeViewController alloc] init];
[self.navigationController pushViewController:rechargeVC animated:YES];
}
break;
case XPMineItemType_Invite_Friend:
[self pushWebViewWIthUrl:URLWithType(kUserInviteFriendURL)];