yangys
2024-05-18 040976de6f9934b99f30268a28e2ecf42260e217
smart-man-boot/src/main/java/com/qianwen/smartman/modules/dnc/util/HttpClientUtils.java
@@ -20,12 +20,11 @@
import org.apache.http.util.EntityUtils;
import com.qianwen.smartman.common.constant.DncConstant;
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/util/HttpClientUtils.class */
public class HttpClientUtils {
    public static JSONObject postForForm(String url, Map<String, String> parms) {
        HttpPost httpPost = new HttpPost(url);
        ArrayList<BasicNameValuePair> list = new ArrayList<>();
        parms.forEach(key, value -> {
        parms.forEach((key, value) -> {
            list.add(new BasicNameValuePair(key, value));
        });
        CloseableHttpClient httpClient = HttpClients.createDefault();