不同皮肤用不同的文章内容

This commit is contained in:
2020-05-12 19:20:44 +08:00
parent c4dcc1f6b6
commit 2f7ec6793e
11 changed files with 26 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ class Category extends Model
if(empty(self::$allCategory)){
$model_list = Category::select();
$model_list = Category::where('type',$type)->select();
self::$allCategory = array2level($model_list,0,0);
}