Skip to content

Commit ad35d80

Browse files
代码简化
1 parent d31e864 commit ad35d80

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

app/src/main/java/com/example/httpsender/param/PostEncryptJsonParam.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.example.httpsender.param
22

33

4-
import okhttp3.MediaType
54
import okhttp3.RequestBody
65
import org.json.JSONObject
76
import rxhttp.wrapper.annotation.Param
@@ -38,9 +37,4 @@ class PostEncryptJsonParam(url: String) : JsonParam(url, Method.POST) {
3837
//加码代码省略
3938
return null
4039
}
41-
42-
companion object {
43-
44-
private val MEDIA_TYPE_JSON = MediaType.parse("application/json;charset=utf-8")
45-
}
4640
}

0 commit comments

Comments
 (0)