Files
featherVoice/QXLive/Message(音信)/Services/QXMessageServices.h

37 lines
962 B
C
Raw Normal View History

2025-08-08 10:49:36 +08:00
//
// QXMessageServices.h
// QXLive
//
// Created by 启星 on 2025/7/11.
//
#import <Foundation/Foundation.h>
#import "QXMessageModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface QXMessageServices : NSObject
/**
*/
+(void)getHomeMessageSuccessBlock:(void (^)(QXMessageModel *model))successBlock
failBlock:(void (^)(NSError * error, NSString * msg))failBlock;
/**
type 1 2
*/
+(void)getMessageListWithPage:(NSInteger)page
type:(NSString*)type
successBlock:(void (^)(NSArray<QXMessageListModel *> *list))successBlock
failBlock:(void (^)(NSError * error, NSString * msg))failBlock;
/**
*/
+(void)getMessageWithId:(NSString*)Id
successBlock:(void (^)(QXMessageListModel *model))successBlock
failBlock:(void (^)(NSError * error, NSString * msg))failBlock;
@end
NS_ASSUME_NONNULL_END