From 7f64a44dbd2ea6e2dfd73c4afb320d27774d7749 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Tue, 31 Oct 2023 10:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=B1=B1WPS=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chinaunicom/mall/ebtp/extend/wps/entity/KingSoftWpsVo.java | 2 +- .../mall/ebtp/extend/wps/service/impl/WpsServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/entity/KingSoftWpsVo.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/entity/KingSoftWpsVo.java index 8dc550b..9d9d513 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/entity/KingSoftWpsVo.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/wps/entity/KingSoftWpsVo.java @@ -24,7 +24,7 @@ public class KingSoftWpsVo { /** * 文件后缀名,如docx、pdf */ - private String fillExtension; + private String fileExtension; /** * 文件版本号 1 */ 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 c098ab4..47f2f80 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 @@ -503,7 +503,7 @@ public class WpsServiceImpl implements WpsService { vo.setFileKey(in.getFileId()); String fileName = in.getFileName(); vo.setFillName(fileName); - vo.setFillExtension(fileName.substring(fileName.lastIndexOf(".")+1,fileName.length())); + vo.setFileExtension(fileName.substring(fileName.lastIndexOf(".")+1,fileName.length())); vo.setVersion(1); try {