wangzelong
2022-09-20 85a3bba2ed29b8cf6f6009f837d01583c5daf9d4
Component/IStation.Redis/RedisClientHelper.cs
@@ -239,8 +239,17 @@
        /// </summary>
        public bool HashSetJosn<T>(string redisKey, string hashField, T value)
        {
            var json = JsonHelper.Object2Json(value);
            return _db.HashSet(redisKey, hashField, json);
            var result = false;
            try
            {
                var json = JsonHelper.Object2Json(value);
                result= _db.HashSet(redisKey, hashField, json);
            }
            catch (Exception ex)
            {
                var a= ex.Message;
            }
            return result;
        }
        /// <summary>