This commit is contained in:
2025-12-04 15:35:23 +08:00
parent af2bcc42fd
commit ce4c4f0531
3 changed files with 7 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
#define KB_API_TAG_LIST @"/tag/list" // 排行榜标签列表
#define KB_API_FILE_UPLOAD @"/file/upload" // 上传头像
#define KB_API_CHARACTER_DETAIL @"/character/detail" // 人设详情
#define KB_API_CHARACTER_LISTBYUSER @"/character/listByUser" // 人设详情
#define KB_API_CHARACTER_LISTBYUSER @"/character/listByUser" // 用户人设列表

View File

@@ -44,6 +44,9 @@ NS_ASSUME_NONNULL_BEGIN
/// 本地字段:是否已添加到键盘(仅客户端使用)
@property (nonatomic, assign) BOOL added;
@property (nonatomic, copy) NSString *emoji;
@end
NS_ASSUME_NONNULL_END

View File

@@ -77,7 +77,9 @@ static NSString * const kKBMyKeyboardCellId = @"kKBMyKeyboardCellId";
// [self buildDefaultData];
__weak typeof(self) weakSelf = self;
[self.viewModel fetchCharacterListByUserWithCompletion:^(NSArray<KBCharacter *> * _Nonnull characterArray, NSError * _Nullable error) {
if (characterArray.count > 0) {
}
}];
}