Commit 0526dcb7 by 裴大威

fix setex to set

parent ec064861
......@@ -277,7 +277,7 @@ public class GroupQrcodeBizImpl implements GroupQrcodeBiz {
url = addWechatGroup(classifyId, null);
log.info("[直接切群] changeGroupQrCode 直接切群classifyId:{} url:{}", classifyId, url);
// 切群之后将新切群放入缓存5分钟,5分钟内若需要切群则直接从缓存中获取,避免事务未提交,双重判断
JedisClusterUtils.setex(qrcodeKey, 60 * 5, url);
JedisClusterUtils.set(qrcodeKey, url, 60 * 5);
} else {
return url;
}
......
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