Commit e0bb715a299ca9250b2a98470b83010dc5804b2d
1 parent
d112636d
no message
Showing
2 changed files
with
7 additions
and
1 deletions
CNLiveCServiceModule/Classes/Manager/CNLiveCServiceManagerBridge.h
| ... | ... | @@ -12,7 +12,7 @@ typedef NS_ENUM(NSInteger , CNCServiceJumpType) { |
| 12 | 12 | CNCServiceJumpTypeGoods, //商品详情页 |
| 13 | 13 | CNCServiceJumpTypeVideo //音频文件 |
| 14 | 14 | }; |
| 15 | - | |
| 15 | +@class CNLiveServiceVC; | |
| 16 | 16 | @protocol CNLiveCServiceProtocol <NSObject> |
| 17 | 17 | |
| 18 | 18 | /** |
| ... | ... | @@ -33,6 +33,7 @@ NS_ASSUME_NONNULL_BEGIN |
| 33 | 33 | + (instancetype) shareManager; |
| 34 | 34 | + (UIViewController *)viewControllerFromView:(UIView *)view; |
| 35 | 35 | |
| 36 | ++ (CNLiveServiceVC *)serviceVC; | |
| 36 | 37 | /** |
| 37 | 38 | * 服务号跳转 |
| 38 | 39 | * | ... | ... |
CNLiveCServiceModule/Classes/Manager/CNLiveCServiceManagerBridge.m
| ... | ... | @@ -7,6 +7,7 @@ |
| 7 | 7 | |
| 8 | 8 | #import "CNLiveCServiceManagerBridge.h" |
| 9 | 9 | #import "CNLiveServicePresent.h" |
| 10 | +#import "CNLiveServiceVC.h" | |
| 10 | 11 | |
| 11 | 12 | @implementation CNLiveCServiceManagerBridge |
| 12 | 13 | + (instancetype)shareManager{ |
| ... | ... | @@ -70,4 +71,8 @@ |
| 70 | 71 | } |
| 71 | 72 | return nil; |
| 72 | 73 | } |
| 74 | ++ (CNLiveServiceVC *)serviceVC{ | |
| 75 | + CNLiveServiceVC *vc = [[CNLiveServiceVC alloc] init]; | |
| 76 | + return vc; | |
| 77 | +} | |
| 73 | 78 | @end | ... | ... |