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

This commit is contained in:
2025-03-14 17:58:36 +08:00
parent 32ccd0e367
commit e4e5b6583f
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);
}
}