From 9f09205ffb8cbea2b04aa13bf9b8a64a13561bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Tue, 21 Nov 2023 17:51:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerArchivesController.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs index f4ae34b..3fe7109 100644 --- a/24Hour/Controllers/Common/LawyerArchivesController.cs +++ b/24Hour/Controllers/Common/LawyerArchivesController.cs @@ -137,8 +137,6 @@ namespace _24Hour.Controllers.Common var dt = reader.ExcelToDataTable(); if (dt != null) { - - var lawyers = new List(); foreach (DataRow dr in dt.Rows) { @@ -215,15 +213,14 @@ namespace _24Hour.Controllers.Common else { res.IsSucceed = false; - res.Message = "数据异常"; + res.Message = "数据不正确"; } } else { res.IsSucceed = false; - res.Message = "文件不存在"; + res.Message = "文件上传失败"; } - } else {