更新代码
This commit is contained in:
@@ -200,6 +200,10 @@ data class CreateReportRequestBody(
|
||||
val base64Images: List<String>,
|
||||
)
|
||||
|
||||
data class RemoveAccountRequestBody(
|
||||
@SerializedName("password")
|
||||
val password: String,
|
||||
)
|
||||
|
||||
interface RaveNowAPI {
|
||||
@POST("register")
|
||||
@@ -449,5 +453,11 @@ interface RaveNowAPI {
|
||||
suspend fun createReport(
|
||||
@Body body: CreateReportRequestBody
|
||||
): Response<Unit>
|
||||
|
||||
@POST("account/my/delete")
|
||||
suspend fun deleteAccount(
|
||||
@Body body: RemoveAccountRequestBody
|
||||
): Response<Unit>
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user