新增文档分类列表树

This commit is contained in:
hogan
2019-01-25 16:49:09 +08:00
parent a9afd0d23d
commit 96c2a66131
25 changed files with 875 additions and 515 deletions

View File

@ -13,6 +13,15 @@ namespace FreeSql.Site.UI.Common
{
public static class HtmlHelperViewExtensions
{
public static string ToJson(this IHtmlHelper htmlHeler, object val)
{
if (val != null)
{
return Newtonsoft.Json.JsonConvert.SerializeObject(val);
}
return "";
}
public static IHtmlContent Action(this IHtmlHelper helper, string action, object parameters = null)
{
var controller = (string)helper.ViewContext.RouteData.Values["controller"];