12345678910111213141516171819202122232425262728293031323334 |
- //
- // RQProfileModule.m
- // jiaPei
- //
- // Created by 张嵘 on 2022/4/25.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQProfileModule.h"
- @implementation RQProfileModule
- static id rq_profileModule = nil;
- #pragma mark - init
- + (instancetype)sharedInstance {
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- rq_profileModule = [[self alloc] init];
- });
- return rq_profileModule;
- }
- - (instancetype)init {
- if (self = [super init]) {
- }
- return self;
- }
- - (void)getVipInfo {
- [[RQ_HTTP_Service getVideoVipWithUserId:RQ_USER_MANAGER.currentUser._id] subscribeNext:^(RQVideoVipModel *videoVipModel) {
- RQ_VIP_Module.videoVipModel = videoVipModel;
- }];
- }
- @end
|