liuxiaolong
2020-06-22 8a0cb38a396e18a9f220bd5144212baca18f49d1
extend/util/httpUtil.go
@@ -15,6 +15,7 @@
   CONTENT_TYPE_FORM    = "application/x-www-form-urlencoded"
   CONTENT_TYPE_MULFORM = "multipart/form-data"
   CONTENT_TYPE_JSON    = "application/json"
   CONTENT_TYPE_UTF8_JSON = "application/json;charset=utf-8"
)
func DoPostRequest(url string, contentType string, body map[string]interface{}, params map[string]string, headers map[string]string) ([]byte, error) {