1234567891011121314151617181920212223242526272829 |
- using LeaRun.Application.Busines.DMAManage;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- using LeaRun.Util.WebControl;
- namespace LeaRun.Application.Web.Areas.DMAManage.Controllers
- {
- public class PartitionsController : MvcControllerBase
- {
- PartitionsBLL partitionsBLL = new PartitionsBLL();
- #region 获取可扩展列表
- /// <summary>
- /// 获取可扩展列表
- /// </summary>
- /// <param name="showcheck"></param>
- /// <returns></returns>
- [HttpGet]
- public ActionResult GetTreeJson(bool showcheck = true)
- {
- return Content(partitionsBLL.GetTreeEntity("0", showcheck).ToList().TreeToJson("0"));
- }
- #endregion
- }
- }
|