首次提交
This commit is contained in:
36
QXLive/Message(音信)/Services/QXMessageServices.h
Normal file
36
QXLive/Message(音信)/Services/QXMessageServices.h
Normal file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user