CNLiveBalanceService.m 1.03 KB
//
//  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