Commit c3c4b7c9 by 徐高华

群活码-链接调整-test

parent acc7b536
......@@ -78,12 +78,12 @@ public class HmLinkServiceImpl implements HmLinkService {
public HmLinkBO getByLinkShortCodeCache(String shortCode) {
String key = "hm:link:" + shortCode;
HmLinkBO link = RedisUtil.getCache(key, HmLinkBO.class);
if (link == null) {
//if (link == null) {
link = this.getByLinkShortCode(shortCode);
if (link != null) {
RedisUtil.setCache(key, link, 20 * 60L);
}
}
// }
return link;
}
......
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