This commit is contained in:
tanghc
2019-07-25 14:05:31 +08:00
parent eb4612f22f
commit bf49c68286
3 changed files with 4 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ public class OpenRequest {
}
return openHttp.get(url, header);
} else {
return openHttp.requestJson(url, JSON.toJSONString(form), header);
return openHttp.request(url, form, header, requestMethod.name());
}
}
} catch (IOException e) {