feat: 添加获取系统前台各模块url接口

This commit is contained in:
2025-03-14 17:58:36 +08:00
parent 4643b18b81
commit e56721bf0f
7 changed files with 178 additions and 4 deletions

View File

@@ -22,6 +22,12 @@ class ArticleCategoryModel extends ArticleCategoryBaseModel
$query->where('language_id', '=', $lang_id);
}
// 根据是否显示查询
public function scopeIsShow($query, bool $is_show)
{
$query->where('is_show', '=', (int)$is_show);
}
// 搜索分类名
public function searchNameAttr($query, $value, $data)
{