WmptWap/App_LocalResources/getCaheData.cs

(完整代码) 721B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using WMPT.SQLServerDAL;
using WMPT.Common;
using WMPT.Model;
/// <summary>
///getCaheData 的摘要说明
/// </summary>
public static class getCaheData
{

    /// <summary>
    /// 获取商家分类
    /// </summary>
    /// <returns></returns>
    public static IList<ShopDataInfo> GetShopData()
    {
        IList<ShopDataInfo> list = (IList<ShopDataInfo>)HttpContext.Current.Cache["shopdata"];
        if (list == null || list.Count == 0)
        {
            list = new ShopData().GetsubList(0);
            HttpContext.Current.Cache["shopdata"] = list;
        }
        return list;
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。