Commit 171ca832 by fudahua

刷新次数以及主门店变更刷新企业微信好友

parent a443241a
...@@ -530,7 +530,7 @@ public class ClerkController extends WebBaseController{ ...@@ -530,7 +530,7 @@ public class ClerkController extends WebBaseController{
} }
String key = "haoban_fresh_wx_friend" + yyyyMM + staffId; String key = "haoban_fresh_wx_friend" + yyyyMM + staffId;
Integer count = RedisUtil.getCache(key) == null ? 0 : (Integer)RedisUtil.getCache(key); Integer count = RedisUtil.getCache(key) == null ? 0 : (Integer)RedisUtil.getCache(key);
if (count != null && count >= 0) { if (count != null && count > 0) {
logger.info("次数超出限制:{}", staffId); logger.info("次数超出限制:{}", staffId);
return resultResponse(HaoBanErrCode.ERR_10011); return resultResponse(HaoBanErrCode.ERR_10011);
} }
......
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