From ed0c471dc23fbe208f35d7c3897010f9498dfc30 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 12 Jan 2024 23:12:16 +0800 Subject: [PATCH] wps --- .../ebtp/extend/wps/service/impl/WpsServiceImpl.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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); }