dever 4 years ago
parent
commit
0b96c9561a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/src/Content.php

+ 1 - 1
main/src/Content.php

@@ -322,7 +322,7 @@ class Content
     # 获取资讯
     public function getNoNews()
     {
-        $pg = input('pg');
+        $pg = Dever::input('pg');
         $data = Dever::load('main/content.news');
         if ($data || $pg > 1) {
             return false;