请求进房的接口获取房间信息
This commit is contained in:
@@ -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)];
|
||||
|
Reference in New Issue
Block a user