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 ae95af3..15d8d4c 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 @@ -585,7 +585,7 @@ public class WpsServiceImpl implements WpsService { //HttpServletRequest request = HttpContextUtils.getHttpServletRequest(); - vo.setHost(in.getHost()); + vo.setHost(kswhost); vo.setLastModifiedTime(time); dataJson = JSON.toJSONString(vo); @@ -595,7 +595,7 @@ public class WpsServiceImpl implements WpsService { KingSoftWpsPreviewVo vo = new KingSoftWpsPreviewVo(); vo.setSrcId(7); - vo.setSrcWpsNgProxy(in.getHost()); + vo.setSrcWpsNgProxy(kswhost); vo.setStaffCode("ebtp"); vo.setFileKey(in.getFileId()); vo.setFileName(in.getFileName());