Easy.COMMON/ProductCommon.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.IO;
using System.Data;
using System.Data.SqlClient;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Easy.COMMON
{
public class ProductCommon
{
// Methods
//public static bool checkIDtime(int id)
//{
// SelectParameters para = new SelectParameters();
// Product bll = new Product();
// para.I1 = id;
// DataTable dt = bll.GetList("ONE", para);
// if (Util.CheckDataTable(dt))
// {
// if (DateTime.Now > Convert.ToDateTime(dt.Rows[0]["PBEndtime"].ToString()))
// {
// return false;
// }
// return true;
// }
// return false;
//}
public static bool checktime(DateTime endtime)
{
if (DateTime.Now > endtime)
{
return false;
}
return true;
}
public static string GetProductPreferentialState(string state)
{
string ret = "";
string CS40001 = state;
if (CS40001 == null)
{
return ret;
}
if (!(CS40001 == "0"))
{
if (CS40001 != "1")
{
if (CS40001 == "2")
{
return "<font color=red>(限时抢购)</font>";
}
if (CS40001 != "3")
{
return ret;
后面还有 40 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。