作者 邓超

x

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