예제 #1
0
 /// <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));
 }
예제 #2
0
 public long Increment(string key, long value = 1)
 {
     return(QuickHelperBase.Increment(key, value));
 }