yumeng 5 سال پیش
والد
کامیت
f8806034f6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      module-common/src/main/java/cn/com/ctop/common/module/service/impl/IpPoolServiceImpl.java

+ 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);