Okhttp delete 不可使用@body 解决方式 注解中增加 hasBody = true 开启body 支持 @HTTP(method = "DELETE", path = "devices/principal", hasBody = true) @Headers("service_name: accountservice") fun deletePrincipal(@Body maps: MutableMap<String, Any>): Call<Any>