2016-01-05 17:14:10 +08:00
|
|
|
|
// ***********************************************************************
|
2015-09-22 23:10:00 +08:00
|
|
|
|
// Assembly : OpenAuth.Mvc
|
2016-07-19 11:44:48 +08:00
|
|
|
|
// Author : yubaolee
|
|
|
|
|
// Created : 07-11-2016
|
2015-09-22 23:10:00 +08:00
|
|
|
|
//
|
2016-07-19 11:44:48 +08:00
|
|
|
|
// Last Modified By : yubaolee
|
|
|
|
|
// Last Modified On : 07-19-2016
|
|
|
|
|
// Contact : www.cnblogs.com/yubaolee
|
|
|
|
|
// File: BaseController.cs
|
2015-09-22 23:10:00 +08:00
|
|
|
|
// ***********************************************************************
|
|
|
|
|
|
2016-10-14 11:22:16 +08:00
|
|
|
|
using Infrastructure;
|
2020-10-22 14:59:36 +08:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using OpenAuth.App.Interface;
|
2015-09-22 23:10:00 +08:00
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Mvc.Controllers
|
|
|
|
|
{
|
2016-07-19 11:44:48 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 基础控制器
|
|
|
|
|
/// <para>李玉宝新增于2016-07-19 11:12:09</para>
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
public class BaseController : Controller
|
2015-12-02 10:06:30 +08:00
|
|
|
|
{
|
2016-10-14 11:22:16 +08:00
|
|
|
|
protected Response Result = new Response();
|
2020-10-22 14:59:36 +08:00
|
|
|
|
protected IAuth _authUtil;
|
2015-11-08 23:19:04 +08:00
|
|
|
|
|
2020-10-22 14:59:36 +08:00
|
|
|
|
public BaseController(IAuth authUtil)
|
2015-12-02 10:06:30 +08:00
|
|
|
|
{
|
2020-10-22 14:59:36 +08:00
|
|
|
|
_authUtil = authUtil;
|
2015-12-02 10:06:30 +08:00
|
|
|
|
}
|
2020-10-22 14:59:36 +08:00
|
|
|
|
|
2015-12-02 10:06:30 +08:00
|
|
|
|
}
|
2015-09-22 23:10:00 +08:00
|
|
|
|
}
|