From e67b811c4601e7a68c2a980cab2982aebf44c60c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 03 四月 2026 08:46:43 +0800
Subject: [PATCH] 减号要选择性的删除。每行都要有减号 完成 现在的“印刷数量”就是新版格式的“生产数量”,放在“生产要求”前面,跟生产要求一行 完成 消耗格子的宽度适当缩小点 完成
---
CY_ECommercePlatform/CY.WebForm/cs/UploadCS.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/cs/UploadCS.cs b/CY_ECommercePlatform/CY.WebForm/cs/UploadCS.cs
index fa238d6..90dad1a 100644
--- a/CY_ECommercePlatform/CY.WebForm/cs/UploadCS.cs
+++ b/CY_ECommercePlatform/CY.WebForm/cs/UploadCS.cs
@@ -155,13 +155,13 @@
//鍒犻櫎鍘熶笂浼犲浘鐗�
if (!string.IsNullOrEmpty(old_path) && File.Exists(HttpContext.Current.Server.MapPath("~" + old_path.Replace(WebDomain, ""))))
{
- //File.Delete(HttpContext.Current.Server.MapPath("~" + old_path.Replace(WebDomain, "")));
+ File.Delete(HttpContext.Current.Server.MapPath("~" + old_path.Replace(WebDomain, "")));
}
- // 淇濆瓨鏂囦欢
+ // 淇濆瓨鏂囦欢
file.SaveAs(HttpContext.Current.Server.MapPath("~" + folder_path + filename));
System.Threading.Thread.Sleep(10);
- _UpFileResult.returnfilename.Add(WebDomain + folder_path + filename);
+ _UpFileResult.returnfilename.Add(folder_path + filename);
}
else
_UpFileResult.returnerror.Add(string.Format("鏍煎紡涓嶅湪鍏佽鐨勮寖鍥村唴,鍙厑璁告牸寮忎负:{0}", UploadFileType));
@@ -169,9 +169,9 @@
}
}
- catch
+ catch(Exception ex)
{
- _UpFileResult.returnerror.Add("涓婁紶鏂囦欢鍑洪敊");
+ _UpFileResult.returnerror.Add(ex.Message + "涓婁紶鏂囦欢鍑洪敊");
}
return _UpFileResult;
--
Gitblit v1.9.1