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 dfd790c..d566c91 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 @@ -27,10 +27,7 @@ import com.chinaunicom.mall.ebtp.extend.feign.client.UnicomOAuthClient; import com.chinaunicom.mall.ebtp.extend.shortmessage.utils.RSA; import com.chinaunicom.mall.ebtp.extend.uniBss.UniBssUtil; import com.chinaunicom.mall.ebtp.extend.wps.controller.WpsController; -import com.chinaunicom.mall.ebtp.extend.wps.entity.KingSoftFileSaveVo; -import com.chinaunicom.mall.ebtp.extend.wps.entity.KingSoftWpsPreviewVo; -import com.chinaunicom.mall.ebtp.extend.wps.entity.KingSoftWpsRet; -import com.chinaunicom.mall.ebtp.extend.wps.entity.KingSoftWpsVo; +import com.chinaunicom.mall.ebtp.extend.wps.entity.*; import com.chinaunicom.mall.ebtp.extend.wps.enums.WpsExceptionEnum; import com.chinaunicom.mall.ebtp.extend.wps.service.WpsService; import com.chinaunicom.mall.ebtp.extend.wps.util.HttpUtils; @@ -611,6 +608,10 @@ public class WpsServiceImpl implements WpsService { vo.setFileCreator("ebtp"); vo.setFileCreateTime(time); vo.setFileLastModifiedTime(time); + WatermarkConfig config = new WatermarkConfig(); + config.setType("0"); + config.setValue("empty"); + vo.setWatermarkConfig(config); dataJson = JSON.toJSONString(vo); }