yumeng 5 年之前
父節點
當前提交
f8806034f6

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/service/impl/IpPoolServiceImpl.java

@@ -34,7 +34,7 @@ public class IpPoolServiceImpl extends ServiceImpl<IpPoolMapper, IpPool> impleme
         queryWrapper.orderByAsc("last_use_time");
         IpPool ipPool = this.getOne(queryWrapper);
         if (ipPool == null) {
-            syncIpPool();
+            return null;
         } else {
             ipPool.setLastUseTime(new Date());
             this.updateById(ipPool);