23 lines
500 B
Objective-C
23 lines
500 B
Objective-C
//
|
|
// MessagePresenter.m
|
|
// xplan-ios
|
|
//
|
|
// Created by zu on 2021/12/8.
|
|
//
|
|
|
|
#import "MessagePresenter.h"
|
|
#import "Api+Message.h"
|
|
#import "ChatLimitModel.h"
|
|
#import "MessageProtocol.h"
|
|
|
|
@implementation MessagePresenter
|
|
|
|
- (void)getChatLimit {
|
|
[Api getChatLimit:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
|
ChatLimitModel *chatLimit = [ChatLimitModel modelWithJSON:data.data];
|
|
[[self getView] onGetLimitChat:chatLimit];
|
|
} showLoading:NO errorToast:NO]];
|
|
}
|
|
|
|
@end
|