|
@@ -85,15 +85,15 @@ interface FileService {
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
@Field("object_type") objectType: String?,
|
|
|
@Field("object_id") objectId: Int
|
|
|
- )
|
|
|
+ ): Observable<MutiFileInfoData>
|
|
|
|
|
|
@PUT("restore")
|
|
|
@FormUrlEncoded
|
|
|
fun restoreFile(
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
@Field("object_type") objectType: String?,
|
|
|
- @Field("object_id_list") objectIdList: Array<Int>
|
|
|
- )
|
|
|
+ @Field("object_id_list[]") objectIdList: IntArray
|
|
|
+ ): Observable<MutiFileInfoData>
|
|
|
|
|
|
@POST("copy")
|
|
|
@FormUrlEncoded
|