报表打印wps改造
This commit is contained in:
@ -799,7 +799,12 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
|
|
||||||
dataJson = JSON.toJSONString(vo);
|
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);
|
log.info("ret:"+retJson);
|
||||||
//String retJson = HttpUtils.httpPost(kswpsurl,json);
|
//String retJson = HttpUtils.httpPost(kswpsurl,json);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user