添加缓存 绝对时间过期

HttpContext.Cache.Insert("smscode", code, null, DateTime.UtcNow.AddMinutes(30), Cache.NoSlidingExpiration);

posted @ 2017-06-19 17:02  麦田HH  阅读(265)  评论(0编辑  收藏  举报