Commit 135e0693b43520e9f5cd764baf734c3d3f94a499

Authored by 梁星国
1 parent 3476dc47

0.0.10

CNLiveServiceCenterModule.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveServiceCenterModule'
11   - s.version = '0.0.9'
  11 + s.version = '0.0.10'
12 12 s.summary = '网家家企业端服务中心模块'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.m
... ... @@ -23,6 +23,7 @@
23 23 #import <QMUIKit/QMUIKit.h>
24 24 #import <CNLiveBServices/CNLiveBPersonAuthentProtocol.h>
25 25 #import <CNLiveBServices/CNLiveBMineServiceProtocol.h>
  26 +#import <CNLiveBServices/CNLiveLiveSetHomeProtocol.h>
26 27 #import "CNLiveBCreatorViewController.h"
27 28  
28 29 #define CNLiveBGetServiceStatusUrl cn_API_OpenApi2(@"/user/readWJJBStatusById")
... ... @@ -132,7 +133,6 @@
132 133  
133 134 self.tableView.tableHeaderView = self.headerView;
134 135  
135   -#pragma mark - TODO:获取用户信息显示
136 136  
137 137 [self.headerView configUIWithIsPerson:self.personStatus isEnterprise:self.institutionStatus];
138 138 __weak typeof(self) weakSelf = self;
... ... @@ -207,6 +207,7 @@
207 207 CNLiveBServiceWorkCell *helpLearnCell = [tableView dequeueReusableCellWithIdentifier:kCNLiveBServiceWorkCell forIndexPath:indexPath];
208 208 helpLearnCell.clickItmButtonBlock = ^(CNLiveBServiceWorkCell * _Nonnull workCell, CNLiveBCenterItmButton * _Nonnull itemBtn) {
209 209 NSLog(@"点击-工作台-item");
  210 + [self jumpLiveVC];
210 211 };
211 212 return helpLearnCell;
212 213 }else {
... ... @@ -328,6 +329,17 @@
328 329 [self.navigationController pushViewController:vc animated:YES];
329 330 }
330 331  
  332 +///跳转直播页
  333 +- (void)jumpLiveVC {
  334 + /// 直播
  335 + id<CNLiveLiveSetHomeProtocol> organizationValidationProtocol = [[BeeHive shareInstance] createService:@protocol(CNLiveLiveSetHomeProtocol)];
  336 + UIViewController *vc = [organizationValidationProtocol pushLiveSettingWithHomeViewController];
  337 + vc.hidesBottomBarWhenPushed = YES;
  338 + [self.navigationController pushViewController:vc animated:YES];
  339 +
  340 +
  341 +}
  342 +
331 343  
332 344  
333 345  
... ...