v7.3.2018.0614 重构高性能资源池,减少GC压力,增加线程池,让异步任务得到平等竞争CPU的机会
大石头
authored at
2018-06-14 17:56:44
X
using NewLife.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using XCode.Membership;
namespace NewLife.Cube.AdminMobile.Controllers
{
/// <summary>移动首页</summary>
[DisplayName("移动首页")]
public class IndexController : ControllerBaseX
{
/// <summary>首页</summary>
/// <returns></returns>
[EntityAuthorize(PermissionFlags.Detail)]
//[AllowAnonymous]
public ActionResult Index()
{
ViewBag.User = ManageProvider.User;
ViewBag.Config = SysConfig.Current;
// 工作台页面
var startPage = Request["page"];
if (startPage.IsNullOrEmpty()) startPage = Setting.Current.StartPage;
ViewBag.Main = startPage;
return View();
}
}
}
|