This commit is contained in:
2026-01-27 21:32:52 +08:00
parent db869552e4
commit 3fd7d2af2e
6 changed files with 433 additions and 7 deletions

View File

@@ -0,0 +1,42 @@
//
// KBCommentModel.m
// keyBoard
//
// Created by Kiro on 2026/1/27.
//
#import "KBCommentModel.h"
#import <MJExtension/MJExtension.h>
@implementation KBCommentItem
+ (void)load {
// id OC
[self mj_setupReplacedKeyFromPropertyName:^NSDictionary *{
return @{
@"commentId": @"id"
};
}];
}
+ (NSDictionary *)mj_objectClassInArray {
return @{
@"replies": [KBCommentItem class]
};
}
@end
@implementation KBCommentPageModel
+ (NSDictionary *)mj_objectClassInArray {
return @{
@"records": [KBCommentItem class]
};
}
@end
@implementation KBCommentLikeResponse
@end