mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
新增文档分类列表树
This commit is contained in:
@ -27,7 +27,7 @@ namespace FreeSql.Site.UI.Areas.Doc.Controllers
|
||||
// GET: Documents
|
||||
public IActionResult Index(int id = 1)
|
||||
{
|
||||
var typeList = DocumentTypeDAL.Query(d => d.ID != 0);
|
||||
var typeList = DocumentTypeDAL.Query(d => d.ID != 0).list;
|
||||
var contentlist = DocumentContentDAL.Query(d => d.Status == 1).list;
|
||||
|
||||
//适应两层结构即可
|
||||
|
Reference in New Issue
Block a user