作者 邓超

x

... ... @@ -46,7 +46,7 @@ class Index extends Controller
$lists = $this->request('blog');
if(!empty($lists['links'])){
foreach ($lists['links'] as &$link){
preg_match("/page=(\d+)/m",$link['url'],$p);
preg_match("/page=(\d+)/i",$link['url'],$p);
$link['page'] = $p[1]??0;
}
}
... ...