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

This commit is contained in:
2025-03-14 17:58:36 +08:00
parent 78dc1188f7
commit 67f5a529ca
7 changed files with 178 additions and 4 deletions

View File

@@ -61,4 +61,10 @@ class ArticleModel extends ArticleBaseModel
}
$query->where('category_id', '=', $value);
}
// 已启用的查询
public function scopeEnabled($query)
{
$query->where('enabled', '=', 1);
}
}