26 lines
614 B
Mathematica
26 lines
614 B
Mathematica
![]() |
//
|
||
|
// XPHomeContainerPresenter.m
|
||
|
// xplan-ios
|
||
|
//
|
||
|
// Created by 冯硕 on 2021/12/2.
|
||
|
//
|
||
|
|
||
|
#import "XPHomeContainerPresenter.h"
|
||
|
#import "Api+Home.h"
|
||
|
#import "AccountInfoStorage.h"
|
||
|
#import "HomeTagModel.h"
|
||
|
#import "XPHomeContainerProtocol.h"
|
||
|
|
||
|
@implementation XPHomeContainerPresenter
|
||
|
|
||
|
/// 获取所有的房间的tag
|
||
|
- (void)getHomeTagList {
|
||
|
NSString * uid = [[AccountInfoStorage instance] getUid];
|
||
|
[Api homeTagComplection:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||
|
NSArray * array = [HomeTagModel modelsWithArray:data.data];
|
||
|
[[self getView] getHomeTagListSuccess:array];
|
||
|
}] uid:uid];
|
||
|
}
|
||
|
|
||
|
@end
|