27 lines
592 B
Mathematica
27 lines
592 B
Mathematica
![]() |
//
|
||
|
// YMMineFriendPresenter.m
|
||
|
// YUMI
|
||
|
//
|
||
|
// Created by YUMI on 2022/5/29.
|
||
|
//
|
||
|
|
||
|
#import "XPMineFriendPresenter.h"
|
||
|
#import "Api+Mine.h"
|
||
|
#import "XPMineFriendProtocol.h"
|
||
|
#import "UserInfoModel.h"
|
||
|
|
||
|
@implementation XPMineFriendPresenter
|
||
|
|
||
|
- (void)getUserListInfo:(NSArray *)array {
|
||
|
NSString * uids = @"";
|
||
|
if (array.count > 0) {
|
||
|
uids = [array componentsJoinedByString:@","];
|
||
|
}
|
||
|
[Api getUsersListInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||
|
NSArray *users= [UserInfoModel modelsWithArray:data.data];
|
||
|
[[self getView] getUserListInfoSuccess:users];
|
||
|
}] uids:uids];
|
||
|
}
|
||
|
|
||
|
@end
|