修正代码

This commit is contained in:
wyx2685 2023-10-15 18:51:41 +09:00
parent 7fca538a46
commit 24209b8ac1
No known key found for this signature in database
GPG Key ID: 8827A30FF1DB1379

View File

@ -104,7 +104,7 @@ class UniProxyController extends Controller
$expired_array = [];
foreach($oldips_array as $nodetypeid => $oldips) {
if ($updateAt - $oldips['lastupdateAt'] > 300){
$expired_array[$nodeid] = '';
$expired_array[$nodetypeid] = '';
}
}
// 清理过期数据并存回缓存