mirror of
https://github.com/v2board/v2board.git
synced 2025-03-13 06:04:42 +08:00
修正代码
This commit is contained in:
parent
7fca538a46
commit
24209b8ac1
@ -104,7 +104,7 @@ class UniProxyController extends Controller
|
|||||||
$expired_array = [];
|
$expired_array = [];
|
||||||
foreach($oldips_array as $nodetypeid => $oldips) {
|
foreach($oldips_array as $nodetypeid => $oldips) {
|
||||||
if ($updateAt - $oldips['lastupdateAt'] > 300){
|
if ($updateAt - $oldips['lastupdateAt'] > 300){
|
||||||
$expired_array[$nodeid] = '';
|
$expired_array[$nodetypeid] = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 清理过期数据并存回缓存
|
// 清理过期数据并存回缓存
|
||||||
|
Loading…
x
Reference in New Issue
Block a user