feat: 接入景区空境库真实素材并统一交付入口

接通场次详情、分页、视频时长与大小,修复日期筛选越界并增加脱敏日志。统一订单与素材库交付方式弹窗,保留任务预选和上传批次,补充模拟器回归测试与接口记录。
This commit is contained in:
2026-10-30 12:11:48 +08:00
parent 20877b425c
commit 0bc801f399
29 changed files with 2350 additions and 203 deletions
+5 -1
View File
@@ -23,6 +23,8 @@ nonisolated struct APIRequest<Response: Decodable> {
var body: AnyEncodable?
/// 敏感请求关闭正文日志,避免验证码和注销资产进入调试日志。
var logsPayload: Bool
/// 为指定模块输出带标签的脱敏日志;隐藏凭证字段和响应中媒体 URL 的查询参数。
var redactedLogCategory: String?
/// 创建一个 API 请求,并把可编码请求体擦除为统一的 AnyEncodable。
init<Body: Encodable>(
@@ -31,7 +33,8 @@ nonisolated struct APIRequest<Response: Decodable> {
queryItems: [URLQueryItem] = [],
headers: [String: String] = [:],
body: Body? = Optional<EmptyPayload>.none,
logsPayload: Bool = true
logsPayload: Bool = true,
redactedLogCategory: String? = nil
) {
self.method = method
self.path = path
@@ -39,6 +42,7 @@ nonisolated struct APIRequest<Response: Decodable> {
self.headers = headers
self.body = body.map(AnyEncodable.init)
self.logsPayload = logsPayload
self.redactedLogCategory = redactedLogCategory
}
}