Commit d9209512 by wnb0128

车家智能数据服务 用户数据重复请求日志--think.wang

1 parent 0a6eb0e7
......@@ -71,6 +71,7 @@ public class UserRelationController {
String key = new StringBuffer(userRelation.getPhone())
.append(userRelation.getChannel()).toString();
if(redisUtils.hasKey(key)){
log.info("{} 已发送请求", key);
return R.ok();
}
redisUtils.setex(key, key, Constants.REDIS_CACHE_TIME);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!