添加了我的房间的入口和开启自己房间的逻辑
This commit is contained in:
@@ -29,9 +29,6 @@
|
||||
#import "XPMineUserInfoViewController.h"
|
||||
#import "XPMineRechargeViewController.h"
|
||||
#import "XPWebViewController.h"
|
||||
|
||||
#warning todo 测试
|
||||
#import "BaseNavigationController.h"
|
||||
#import "XPRoomViewController.h"
|
||||
|
||||
|
||||
@@ -130,13 +127,9 @@
|
||||
break;
|
||||
case XPMineItemType_Account:
|
||||
{
|
||||
NSString* roomUid = [NSString stringWithFormat:@"%d", 1004587];
|
||||
[XPRoomViewController openRoom:roomUid viewController:self];
|
||||
return;
|
||||
XPMineRechargeViewController * rechargeVC = [[XPMineRechargeViewController alloc] init];
|
||||
[self.navigationController pushViewController:rechargeVC animated:YES];
|
||||
}
|
||||
|
||||
break;
|
||||
case XPMineItemType_Invite_Friend:
|
||||
[self pushWebViewWIthUrl:URLWithType(kUserInviteFriendURL)];
|
||||
@@ -148,7 +141,12 @@
|
||||
[self.navigationController pushViewController:infoVC animated:YES];
|
||||
}
|
||||
break;
|
||||
|
||||
case XPMineItemType_My_Room:
|
||||
{
|
||||
NSString* roomUid = [NSString stringWithFormat:@"%ld", (long)self.userInfo.uid];
|
||||
[XPRoomViewController openRoom:roomUid viewController:self];
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user