CNLiveBalanceService.m
1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// CNLiveBalanceService.m
// CNLiveBalanceModule
//
// Created by 153993236@qq.com on 11/12/2019.
// Copyright (c) 2019 153993236@qq.com. All rights reserved.
//
#import "CNLiveBalanceService.h"
#import "CNLiveServices.h"
#import "CNLiveManager.h"
#import "CNLiveBalanceController.h"
@BeeHiveService(CNLiveBalanceServiceProtocol,CNLiveBalanceService)
@interface CNLiveBalanceService ()<CNLiveBalanceServiceProtocol>
@end
@implementation CNLiveBalanceService
// 补贴余额
//type: 1-中国网家家补贴余额 2-群组余额
//ID: 1-用户id 2-群组id
- (UIViewController *)getBalanceViewControllerWithType:(NSString *)type ID:(NSString *)ID{
return [[CNLiveBalanceController alloc]initWithType:type ID:ID];
}
//type: 1-个人中心 2-特色群组
//ID: 用户id-个人中心 群组id-特色群组
- (void)pushToBalanceViewControllerWithType:(NSString *)type ID:(NSString *)ID{
CNLiveBalanceController *vc = [[CNLiveBalanceController alloc]initWithType:type ID:ID];
[CNLivePageJumpManager jumpViewController:vc];
}
@end