报表打印wps改造

This commit is contained in:
zhangqinbin
2024-01-10 10:50:59 +08:00
parent 15ebacddd1
commit 478e9d11cd

View File

@ -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);