Files
yinmeng-ios/xplan-ios/Main/Message/Presenter/MessagePresenter.m
2021-12-08 18:53:33 +08:00

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