HttpUtils.sendPost()方法,参数无需拼接参数到url

pull/171/head
RuoYi 5 years ago
parent e4919f1a62
commit 92d7c18879

@ -118,7 +118,7 @@ public class HttpUtils
StringBuilder result = new StringBuilder();
try
{
String urlNameString = url + "?" + param;
String urlNameString = url;
log.info("sendPost - {}", urlNameString);
URL realUrl = new URL(urlNameString);
URLConnection conn = realUrl.openConnection();

Loading…
Cancel
Save