11
This commit is contained in:
@@ -16,13 +16,13 @@ namespace MyCode.Project.WebApi.Areas.Wechat.Controllers
|
||||
/// <summary>
|
||||
/// 取得登陆信息
|
||||
/// </summary>
|
||||
protected MemberLoginInfo CurrentLogin
|
||||
protected LoginInfo CurrentLogin
|
||||
{
|
||||
get
|
||||
{
|
||||
var obj = this.RequestContext.RouteData.Values[Const.LoginInfoKey];
|
||||
|
||||
return ((JObject)obj).ToObject<MemberLoginInfo>();
|
||||
return ((JObject)obj).ToObject<LoginInfo>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user