|
@@ -23,7 +23,7 @@ interface FileService {
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
@Query("object_type") objectType: String?,
|
|
|
@Query("object_state") objectState: String?,
|
|
|
- @Query("object_id_list[]") objectIdList: IntArray?,
|
|
|
+ @Query("object_id_list[]") objectIdList: IntArray,
|
|
|
@Query("category") category: String?,
|
|
|
@Query("app_series") appSeries: String?
|
|
|
): Observable<MutiFileInfoData>
|
|
@@ -45,18 +45,20 @@ interface FileService {
|
|
|
)
|
|
|
|
|
|
@HTTP(method = "DELETE", path = ".", hasBody = true)
|
|
|
+ @FormUrlEncoded
|
|
|
fun deleteFile(
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
@Field("object_id") objectId: Int,
|
|
|
@Field("object_type") objectType: String?
|
|
|
- )
|
|
|
+ ): Observable<MutiFileInfoData>
|
|
|
|
|
|
@HTTP(method = "DELETE", path = ".", hasBody = true)
|
|
|
+ @FormUrlEncoded
|
|
|
fun deleteFile(
|
|
|
@Header("Authorization") accessToken: String,
|
|
|
- @Field("object_id_list") objectIdList: Array<Int>,
|
|
|
+ @Field("object_id_list[]") objectIdList: IntArray,
|
|
|
@Field("object_type") objectType: String?
|
|
|
- )
|
|
|
+ ): Observable<MutiFileInfoData>
|
|
|
|
|
|
@HTTP(method = "DELETE", path = "hard_destroy", hasBody = true)
|
|
|
fun hardDeleteFile(
|