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