From 932f015c8c4f4577af4124c4d2b0c2c704ce8318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=AF=93=E6=B3=BD?= <13204402429@stu.ecnu.edu.cn> Date: Sun, 17 Jan 2021 21:40:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'QZCheck.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QZCheck.cs | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 QZCheck.cs diff --git a/QZCheck.cs b/QZCheck.cs deleted file mode 100644 index ea65a85..0000000 --- a/QZCheck.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using System.Data; -using System.Configuration; -using System.Web; -using System.Web.Security; -using System.Web.UI; -using System.Web.UI.WebControls; -using System.Web.UI.WebControls.WebParts; -using System.Web.UI.HtmlControls; - -namespace basic -{ - /// - /// QZCheck 的摘要说明 - /// - public class QZCheck - { - /// - /// 检测附件地址 - /// - /// - public static string CheckFujian(string Fujian) - { - string strResult = ""; - if (Fujian.ToLower().Contains("http://")) - { - strResult = Fujian; - } - else - { - strResult = "../" + Fujian; - } - return strResult; - } - - /// - /// 检测图片是否为空 - /// - /// - public static string CheckPathNull(string Path) - { - string strResult = ""; - if (Path == null || Path == "") - { - strResult = "upload/default.jpg"; - } - else - { - strResult = Path; - } - return strResult; - } - } -} \ No newline at end of file