Browse Source

删除 'QZCheck.cs'

master
童毓泽 4 years ago
parent
commit
932f015c8c
1 changed files with 0 additions and 54 deletions
  1. +0
    -54
      QZCheck.cs

+ 0
- 54
QZCheck.cs View File

@ -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
{
/// <summary>
/// QZCheck 的摘要说明
/// </summary>
public class QZCheck
{
/// <summary>
/// 检测附件地址
/// </summary>
/// <param name="Fujian"></param>
public static string CheckFujian(string Fujian)
{
string strResult = "";
if (Fujian.ToLower().Contains("http://"))
{
strResult = Fujian;
}
else
{
strResult = "../" + Fujian;
}
return strResult;
}
/// <summary>
/// 检测图片是否为空
/// </summary>
/// <param name="Fujian"></param>
public static string CheckPathNull(string Path)
{
string strResult = "";
if (Path == null || Path == "")
{
strResult = "upload/default.jpg";
}
else
{
strResult = Path;
}
return strResult;
}
}
}

Loading…
Cancel
Save