BN089-BS开发框架MVC4版/source20131023/Zephyr.Web/Controllers/LoginController.cs
(完整代码) 1KBusing System;
using System.Web.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Zephyr.Core;
using Zephyr.Models;
using Zephyr.Utils;
using Zephyr.Web;
using Zephyr.Web.Areas.Mms.Common;
namespace Zephyr.Controllers
{
[AllowAnonymous]
[MvcMenuFilter(false)]
public class LoginController : Controller
{
public ActionResult Index()
{
//ViewBag.CnName = "企业管理系统";
//ViewBag.EnName = "Enterprise Mangange System";
//return View();
return Mms();
}
public ActionResult Mms()
{
ViewBag.CnName = "建筑材料管理系统";
ViewBag.EnName = "Engineering Material Mangange System";
return View("Index");
}
public ActionResult Psi()
{
ViewBag.CnName = "企业进销存管理系统";
ViewBag.EnName = "Purchase-Sales-Inventory Management System";
ViewBag.EnNameStyle = "left:298px;";
return View("Index");
}
public JsonResult DoAction(JObject request)
{
var message = new sys_userService().Login(request);
return Json(message, JsonRequestBehavior.DenyGet);
}
public ActionResult Logout()
{
FormsAuth.SingOut();
return Redirect("~/Login");
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。