diff --git a/RedisStuy/RedisHashStudy.cs b/RedisStuy/RedisHashStudy.cs index a39dc45..7514b3c 100644 --- a/RedisStuy/RedisHashStudy.cs +++ b/RedisStuy/RedisHashStudy.cs @@ -15,8 +15,12 @@ namespace RedisStuy /// public class RedisHashStudy { + #region 初始化 private string studentHashKey = "student:hask:"; private IDatabase redisDatabase = RedisHelper.GetRedisDatabase(); + #endregion + + /// /// 添加一个学生