Commit 2b01d763 authored by yanzg's avatar yanzg

异常处理显示

parent 7b602b97
...@@ -95,6 +95,9 @@ public class TokenServiceCall implements TokenLoad { ...@@ -95,6 +95,9 @@ public class TokenServiceCall implements TokenLoad {
int from = StringHelper.toInt(countCache.get(id)); int from = StringHelper.toInt(countCache.get(id));
int to = from + flag; int to = from + flag;
countCache.put(id, to); countCache.put(id, to);
if (to == 0) {
countCache.remove(id);
}
return to; return to;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment