弹幕、分类下拉、属性下拉、

This commit is contained in:
2025-12-11 16:11:38 +08:00
parent 18d29af70b
commit 291d06fd94
13 changed files with 363 additions and 9 deletions
@@ -39,6 +39,21 @@ class PostCategoryService
return new $this->validator;
}
/**
* 获取系统list
*/
public function preset($params)
{
$where = [];
if(isset($params['parent_id']) && $params['parent_id']) {
$where['parent_id'] = $params['parent_id'];
}else{
$where['parent_id'] = 0;
}
$result = $this->logic->getList($where)->toArray();
return $result;
}
/**
* 获取系统list
*/