mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
不同皮肤用不同的文章内容
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user