文章可设置类型用于不同而类型

This commit is contained in:
augushong
2020-05-07 21:33:59 +08:00
parent 642dc3a568
commit c4dcc1f6b6
14 changed files with 57 additions and 42 deletions

View File

@@ -23,7 +23,7 @@ class Category extends Model
* @param string $id
* @return void
*/
public static function getListLevel($id = '')
public static function getListLevel($id = '',$type = 1)
{
if(empty(self::$allCategory)){