mirror of https://gitee.com/y_project/RuoYi.git
HttpUtils.sendPost()方法,参数无需拼接参数到url
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…
Reference in New Issue