/// <summary> /// 添加 /// </summary> /// <param name="key"></param> /// <param name="value"></param> /// <param name="score"></param> /// <returns></returns> public async Task <bool> SortedSetAddAsync <T>(string key, T value, double score) { return(await CsRedisHelper.ZAddAsync(key, (score, ConvertJson <T>(value))) > 0); }