using MyCode.Project.Domain.Message.Response.User; using MyCode.Project.Infrastructure.Constant; using MyCode.Project.WebApi.Controllers; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace MyCode.Project.WebApi.Areas.Wechat.Controllers { public class BaseWechatController : BaseAPIController { /// /// 取得登陆信息 /// protected LoginInfo CurrentLogin { get { var obj = this.RequestContext.RouteData.Values[Const.LoginInfoKey]; return ((JObject)obj).ToObject(); } } } }