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