diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java index e1b9575..6b97a80 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java @@ -799,7 +799,12 @@ public class WpsServiceImpl implements WpsService { dataJson = JSON.toJSONString(vo); - String retJson = HttpUtils.httpPost(url, dataJson);//httpPost(kswpsurl,json); + String retJson = ""; + if(url.indexOf("https://")>=0){ + retJson = HttpsUtils.UrlPost(url, "utf-8", dataJson); + }else{ + retJson = HttpUtils.httpPost(url, dataJson); + } log.info("ret:"+retJson); //String retJson = HttpUtils.httpPost(kswpsurl,json);