From 715f4b6b76d6b3f837f99207838823300c3dfcf0 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Sun, 28 Apr 2024 14:24:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../background/service/impl/EmergencyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securitycontrol-model/securitycontrol-background/src/main/java/com/securitycontrol/background/service/impl/EmergencyServiceImpl.java b/securitycontrol-model/securitycontrol-background/src/main/java/com/securitycontrol/background/service/impl/EmergencyServiceImpl.java index d436cb3..ad652f8 100644 --- a/securitycontrol-model/securitycontrol-background/src/main/java/com/securitycontrol/background/service/impl/EmergencyServiceImpl.java +++ b/securitycontrol-model/securitycontrol-background/src/main/java/com/securitycontrol/background/service/impl/EmergencyServiceImpl.java @@ -240,7 +240,7 @@ public class EmergencyServiceImpl implements EmergencyService { String fileName= files[i].getOriginalFilename(); String extension = fileName.substring(fileName.lastIndexOf('.') + 1).toLowerCase(); if(!SystemGlobal.PDF_FIX.equals(extension) && !SystemGlobal.WORLD2_FIX.equals(extension) && !SystemGlobal.WORLD_FIX.equals(extension) ){ - return "文件上传只支持pdf和world文档"; + return "文件上传只支持pdf和word文档"; } } }