using LeaRun.Application.Busines.NBManage; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using LeaRun.Util.WebControl; using LeaRun.Util; namespace LeaRun.Application.Web.Areas.NBManage.Controllers { /// /// 地区tree列表获取 /// public class NBAreasController : MvcControllerBase { NBAreasBLL bll = new NBAreasBLL(); #region 获取可扩展列表 /// /// 获取可扩展列表 /// /// /// [HttpGet] public ActionResult GetTreeJson(bool showcheck = true) { return Content(bll.GetTreeEntity("0", showcheck, 0).ToList().TreeToJson("0")); } public ActionResult GetAreaTreeJson(bool showcheck = true) { return Content(bll.GetAreaTreeJson("0", showcheck).ToList().TreeToJson("0")); } #endregion } }