为旅拍 OTG 上传增加 client_photo_id,并按服务端已登记 ID 同步本地上传状态。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -203,11 +203,22 @@ struct TravelAlbumUploadMaterialRequest: Encodable, Sendable, Equatable {
|
||||
let userEquityTravelId: Int
|
||||
let fileName: String
|
||||
let fileUrl: String
|
||||
let clientPhotoId: String
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case userEquityTravelId = "user_equity_travel_id"
|
||||
case fileName = "file_name"
|
||||
case fileUrl = "file_url"
|
||||
case clientPhotoId = "client_photo_id"
|
||||
}
|
||||
}
|
||||
|
||||
/// 旅拍相册服务端已登记的客户端照片 ID 集合。
|
||||
struct TravelAlbumMaterialClientPhotoIDsResponse: Decodable, Sendable, Equatable {
|
||||
let clientPhotoIds: [String]
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case clientPhotoIds = "client_photo_ids"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user