diff --git a/xplan-ios.xcodeproj/xcshareddata/xcschemes/xplan-ios.xcscheme b/xplan-ios.xcodeproj/xcshareddata/xcschemes/xplan-ios.xcscheme index 670f098f..51c35fc3 100644 --- a/xplan-ios.xcodeproj/xcshareddata/xcschemes/xplan-ios.xcscheme +++ b/xplan-ios.xcodeproj/xcshareddata/xcschemes/xplan-ios.xcscheme @@ -31,7 +31,7 @@ #import #import +#import ///Tool #import "TTPopup.h" #import "XPMacro.h" @@ -66,6 +67,7 @@ #import "XPMineCollectRoomListViewController.h" #import "XPNewUserRechargeViewController.h" #import "XPMineGameOrderVC.h" +#import "SessionViewController.h" @interface XPMineViewController () @@ -662,15 +664,9 @@ } break; case XPMineItemType_Customer_Center: { - [QYSDK sharedSDK].customUIConfig.customerHeadImageUrl = self.userInfo.avatar; - QYSource *source = [[QYSource alloc] init]; - source.title = @"音萌客服"; - source.urlString = @"https://gzhfwlkjyxgs.qiyukf.com/"; - [[IQKeyboardManager sharedManager].disabledDistanceHandlingClasses addObject:[QYSessionViewController class]]; - QYSessionViewController *sessionViewController = [[QYSDK sharedSDK] sessionViewController]; - sessionViewController.sessionTitle = @"音萌客服"; - sessionViewController.source = source; - [self.navigationController pushViewController:sessionViewController animated:YES]; + NIMSession *session = [NIMSession session:@"200014" type:NIMSessionTypeP2P]; + SessionViewController *sessionVC = [[SessionViewController alloc] initWithSession:session]; + [self.navigationController pushViewController:sessionVC animated:YES]; } break; diff --git a/xplan-ios/Main/Room/View/RoomRecommend/SubViews/XPRoomInsideRecommendCell.m b/xplan-ios/Main/Room/View/RoomRecommend/SubViews/XPRoomInsideRecommendCell.m index 47128dde..a2b5f351 100644 --- a/xplan-ios/Main/Room/View/RoomRecommend/SubViews/XPRoomInsideRecommendCell.m +++ b/xplan-ios/Main/Room/View/RoomRecommend/SubViews/XPRoomInsideRecommendCell.m @@ -78,6 +78,7 @@ make.right.mas_equalTo(0); make.height.mas_equalTo(12); }]; + } #pragma mark - Getters And Setters - (void)setModel:(XPRoomRecommendModel *)model { diff --git a/xplan-ios/Main/Room/View/StageView/StageView.m b/xplan-ios/Main/Room/View/StageView/StageView.m index a55d689e..e51ead0c 100644 --- a/xplan-ios/Main/Room/View/StageView/StageView.m +++ b/xplan-ios/Main/Room/View/StageView/StageView.m @@ -255,7 +255,7 @@ owner.uid = roomInfo.uid; owner.gender = roomInfo.gender; UIView *ownerView = [self findMicroViewByIndex:0]; - [ownerView configUser:owner]; + [ownerView configUser:owner ]; } if (self.isMiniEnter || !isHandleRTC) {