This commit is contained in:
2026-02-04 18:10:39 +08:00
parent 3e30f619b9
commit ff4edab820
4 changed files with 11 additions and 1 deletions

View File

@@ -43,6 +43,10 @@ typedef NS_ENUM(NSInteger, KBAIReplyFooterState) {
/// 是否已点赞
@property(nonatomic, assign) BOOL liked;
@property(nonatomic, assign) NSString *replyToUserId;
@property(nonatomic, assign) NSString *replyToUserName;
/// 创建时间(时间戳)
@property(nonatomic, assign) NSTimeInterval createTime;

View File

@@ -59,6 +59,9 @@
if (!_content) {
_content = @"";
}
if (!_replyToUserName) {
_replyToUserName = @"";
}
}
- (instancetype)init {

View File

@@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
@property(nonatomic, copy) NSString *content;
/// 被回复的用户名(@xxx
@property(nonatomic, copy, nullable) NSString *replyToUserName;
@property(nonatomic, copy) NSString *replyToUserName;
/// 点赞数
@property(nonatomic, assign) NSInteger likeCount;

View File

@@ -55,6 +55,9 @@
if (!_content) {
_content = @"";
}
if ([_content isEqualToString:@"78910"]) {
NSLog(@"===");
}
if (!_replyToUserName) {
_replyToUserName = @"";
}