Browse Source

商户号 超过1000 没领到得 就切换

三七 1 week ago
parent
commit
84c5ae8d1d

+ 1 - 1
fs-service/src/main/java/com/fs/his/service/impl/SysRedpacketConfigMoreServiceImpl.java

@@ -91,7 +91,7 @@ public class SysRedpacketConfigMoreServiceImpl extends ServiceImpl<SysRedpacketC
     @Override
     public void changeRedPacketConfig() {
         long count = Long.parseLong(redisCache.getCacheObject("sys_config:redPacket.config.newCount"));
-        if (count >= 100) {
+        if (count >= 1000) {
             String json = redisCache.getCacheObject("sys_config:redPacket.config.new");
             if (StringUtil.isNullOrEmpty(json) || json.isEmpty()) {
                 json = configService.selectConfigByKey("redPacket.config");