Files
peko-ios/YuMi/Modules/YMNewHome/Presenter/CreateEventPresenter.h

45 lines
1.1 KiB
Objective-C

//
// CreateEventPresenter.h
// YuMi
//
// Created by P on 2025/5/9.
//
#import "BaseMvpPresenter.h"
#import "EventItemModel.h"
NS_ASSUME_NONNULL_BEGIN
@protocol CreateEventPresenterProcotol <NSObject>
@optional
- (void)eventSquareListSuccess:(NSArray <EventItemModel *>*)list;
- (void)eventSquareListFailure:(NSString *)msg;
- (void)myCreateEventListSuccess:(NSArray *)list;
- (void)myCreateEventListFailure:(NSString *)msg;
- (void)mySubEventListSuccess:(NSArray *)list;
- (void)mySubEventListFailure:(NSString *)msg;
@end
@interface CreateEventPresenter : BaseMvpPresenter
- (void)loadEventSquare:(NSInteger)page;
- (void)loadMyCreateEvents:(NSInteger)page;
- (void)loadMySubEvents:(NSInteger)page;
- (void)createEventWithTitle:(NSString *)title
image:(UIImage *)image
uploadToHome:(BOOL)uploadToHome
roomId:(NSString *)roomId
startTime:(NSDate *)startTime
duration:(NSInteger)duration
content:(NSString *)content
notifyFans:(BOOL)notifyFans;
@end
NS_ASSUME_NONNULL_END