IOS-INFO-016 P0 | 批量上传 ReadingEvent API Client 【审计: 不存在】 #83
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
POST /learning/reading-events/batch
ReadingEventBatchUploadRequest/Response。支持 accepted/duplicate/failed/warnings。未登录不上传。token 失效走统一鉴权。
IOS-INFO-016 P0 | 查询资料阅读进度接口to IOS-INFO-016 P0 | 批量上传 ReadingEvent API Client 【审计: 不存在】完成报告
交付
Core/Services/ReadingAPI.swift— APIService 扩展 + 全部 M8 响应 DTO:6 个 API 端点 + 6 个响应 DTO,覆盖全部 M8 查询接口。
审查跟进(Batch C 审查 F4-F5)
F4:
ReadingAPI.swift的client.request(path, method:, body:)需要确认 APIClient 是否支持 body 参数。当前 APIService 的 request 方法签名是client.request<T>(path, method:),可能无 body 重载。需要检查APIClient.request的实际签名并适配。F5:
ReadingEventUploadPipeline.flush()中使用apiClient.post()方法与ReadingAPI.uploadReadingEvents()使用client.request()不一致。两者应统一为同一个调用方式。F1: JSON 写盘 (
saveToDisk) 在主线程同步执行,大量事件时建议改为异步写盘。F6:
AIStudyAppApp.swift中exportAndEnqueue(contexts: [:])传空 contexts,需从ReadingRuntimeSessionManager获取活跃 context。