1
This commit is contained in:
@@ -19,6 +19,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
/// "rank" : 899
|
||||
/// }
|
||||
@interface KBCharacter : NSObject
|
||||
/// 首页用的ID(也是人设ID)
|
||||
@property (nonatomic, copy, nullable) NSString *ID;
|
||||
|
||||
/// 唯一标识,对应后端的 id
|
||||
@property (nonatomic, copy, nullable) NSString *characterId;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
// 后端字段映射到本地属性
|
||||
return @{
|
||||
// id -> characterId
|
||||
@"characterId": @"id",
|
||||
@"ID": @"id",
|
||||
// 名称字段:优先 characterName,兼容部分接口可能返回 title
|
||||
@"characterName": @[@"characterName", @"title"],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user