wupengfei 2 years ago
parent
commit
cc4ff0aa4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/nutrition/controller/VideoCate.php

+ 1 - 1
application/nutrition/controller/VideoCate.php

@@ -32,7 +32,7 @@ class VideoCate extends Controller
     public function index()
     {
         $this->title = '分类列表';
-        $query = $this->_query($this->table)->where('is_deleted',0)->where('pid',7)->page(false);
+        $query = $this->_query($this->table)->where('is_deleted',0)->where('pid',0)->page(false);
     }
 
     /**