新增聊天记录

This commit is contained in:
2026-01-26 18:17:02 +08:00
parent f9d7579536
commit 6a177ceebc
14 changed files with 1447 additions and 18 deletions

View File

@@ -0,0 +1,39 @@
//
// KBChatHistoryPageModel.m
// keyBoard
//
// Created by Kiro on 2026/1/26.
//
#import "KBChatHistoryPageModel.h"
#import <MJExtension/MJExtension.h>
@implementation KBChatOrderRule
@end
@implementation KBChatHistoryPageModel
#pragma mark - MJExtension
//
+ (NSDictionary *)mj_objectClassInArray {
return @{
@"records": [KBChatHistoryModel class],
@"orders": [KBChatOrderRule class]
};
}
//
- (void)mj_keyValuesDidFinishConvertingToObject {
if (!self.records) {
self.records = @[];
}
}
#pragma mark -
- (BOOL)hasMore {
return self.current < self.pages;
}
@end