Commit d0ba8f9e by fudahua

导购刷新好友超时时间

parent 6f6e4104
......@@ -136,6 +136,7 @@ public class FriendClerkSyncNewOperation implements BaseSyncOperation {
RedisUtil.setCache(key, 1, 2L, TimeUnit.HOURS);
} else {
Integer count = Integer.valueOf(cache.toString());
RedisUtil.setCache(key, count + 1);
if (count > 5) {
return false;
}
......
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