feat: add travel album OTG import flow
This commit is contained in:
@ -198,6 +198,19 @@ struct TravelAlbumCreateRequest: Encodable, Sendable, Equatable {
|
||||
}
|
||||
}
|
||||
|
||||
/// 旅拍相册素材上传登记请求体,对齐 Android `TravelAlbumUploadMaterialRequest`。
|
||||
struct TravelAlbumUploadMaterialRequest: Encodable, Sendable, Equatable {
|
||||
let userEquityTravelId: Int
|
||||
let fileName: String
|
||||
let fileUrl: String
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case userEquityTravelId = "user_equity_travel_id"
|
||||
case fileName = "file_name"
|
||||
case fileUrl = "file_url"
|
||||
}
|
||||
}
|
||||
|
||||
/// 旅拍相册通用分页响应。
|
||||
struct TravelAlbumListResponse<Item: Decodable & Sendable & Equatable>: Decodable, Sendable, Equatable {
|
||||
let total: Int
|
||||
|
||||
Reference in New Issue
Block a user