修改举报和UI

This commit is contained in:
2026-02-02 17:07:46 +08:00
parent 0ac9030f80
commit 2b75ad90fb
5 changed files with 228 additions and 11 deletions

View File

@@ -173,6 +173,22 @@ typedef void (^AiVMSpeechTranscribeCompletion)(KBAiSpeechTranscribeResponse *_Nu
- (void)fetchCompanionDetailWithCompanionId:(NSInteger)companionId
completion:(void(^)(KBAICompanionDetailModel * _Nullable detail, NSError * _Nullable error))completion;
#pragma mark - 举报接口
/// 举报 AI 角色
/// @param companionId AI 角色 ID
/// @param reportTypes 举报类型数组(按界面从上到下 1-12
/// @param reportDesc 详细描述
/// @param chatContext 聊天上下文快照 JSON 字符串
/// @param evidenceImageUrl 图片证据 URL
/// @param completion 完成回调
- (void)reportCompanionWithCompanionId:(NSInteger)companionId
reportTypes:(NSArray<NSNumber *> *)reportTypes
reportDesc:(nullable NSString *)reportDesc
chatContext:(nullable NSString *)chatContext
evidenceImageUrl:(nullable NSString *)evidenceImageUrl
completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
@end
NS_ASSUME_NONNULL_END