/// <summary> /// 设置指定key过期时间 /// </summary> /// <param name="key">不含prefix前辍RedisHelper.Name</param> /// <param name="expire">过期时间</param> /// <returns></returns> public bool Expire(string key, TimeSpan expire) { return(QuickHelperBase.Expire(key, expire)); }