Commit d871d886 by 徐高华

log

parent 3d229cd3
......@@ -360,6 +360,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
String key = LOCK_KEY + wxEnterpriseId;
Object cache = RedisUtil.getCache(key);
if (null == cache) {
logger.info("设置通讯录缓存={},{}",key,taskId);
RedisUtil.setCache(key, taskId, 3L, TimeUnit.HOURS);
return taskId;
}
......@@ -393,8 +394,9 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
@Override
public String getTaskLock(String wxEnterpriseId) {
String key = LOCK_KEY + wxEnterpriseId;
logger.info("缓存key={}",key);
return (String) RedisUtil.getCache(key);
String v = (String) RedisUtil.getCache(key);
logger.info("查询通讯录缓存key={},{}",key,v);
return v ;
}
@Override
......
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