feat: 添加获取系统前台各模块url接口
This commit is contained in:
@@ -61,4 +61,10 @@ class ArticleModel extends ArticleBaseModel
|
||||
}
|
||||
$query->where('category_id', '=', $value);
|
||||
}
|
||||
|
||||
// 已启用的查询
|
||||
public function scopeEnabled($query)
|
||||
{
|
||||
$query->where('enabled', '=', 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user