/// <summary> /// 为数字减少val /// </summary> /// <param name="key"></param> /// <param name="dataKey"></param> /// <param name="val">可以为负</param> /// <returns>减少后的值</returns> public long HashDecrement(string key, string dataKey, long val = 1) { return(CsRedisHelper.HashIncrement(key, dataKey, 0 - val)); }