Commit 3a823942 by 徐高华

好办加好友统计

parent 76fefd55
...@@ -54,8 +54,9 @@ public class HBQwMonitorUtils { ...@@ -54,8 +54,9 @@ public class HBQwMonitorUtils {
private static int getNum(String key , String ip) { private static int getNum(String key , String ip) {
key = key+ip ;
int count = 0 ; int count = 0 ;
Object countObj = RedisUtil.getCache(key+ip) ; Object countObj = RedisUtil.getCache(key) ;
if(null != countObj) { if(null != countObj) {
count = Integer.valueOf(countObj.toString()) ; count = Integer.valueOf(countObj.toString()) ;
} }
......
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