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