feat: 添加获取系统前台各模块url接口
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user