v9.10.2019.0101 全面巩固批量Insert/Update/Upsert,支持数据备份、恢复和同步,支持实体列表保存到文件以及加载
大石头
authored at
2019-01-01 13:38:33
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();
}
}
}
|