首次提交

This commit is contained in:
启星
2025-09-22 18:48:29 +08:00
parent 28ae935e93
commit ae9be0b58e
8941 changed files with 999209 additions and 2 deletions

View 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