天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
781 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using QMAPP.Common.Web.Controllers;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.MD.Web.Controllers
{
/// <summary>
/// 登录
/// </summary>
public class LoginController : QController
{
//
// GET: /Login/
public ActionResult Login()
{
string sessionid = HttpContext.Session.SessionID;
return View();
}
/// <summary>
/// 注销
/// </summary>
/// <returns></returns>
[HandleException]
public ActionResult Logout()
{
AccountController.Logout();
return Json("{\"value\":\"ok\"}");
}
}
}