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.
38 lines
782 B
38 lines
782 B
4 years ago
|
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.FJC.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\"}");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|