紧急修复因SSO功能造成的某些页面访问失败

This commit is contained in:
yubaolee
2016-07-14 00:14:24 +08:00
parent 5bfba2aee4
commit 860af2a0f9
6 changed files with 44 additions and 8 deletions

View File

@@ -90,6 +90,28 @@ namespace OpenAuth.App.SSO
}
}
/// <summary>
/// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD><C7B0>¼<EFBFBD><C2BC><EFBFBD>û<EFBFBD><C3BB><EFBFBD>
/// <para>ͨ<><CDA8>URL<52>е<EFBFBD>Token<65><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Cookie<69>е<EFBFBD>Token</para>
/// </summary>
/// <param name="remark">The remark.</param>
/// <returns>System.String.</returns>
public static string GetUserName(string remark = "")
{
var requestUri = String.Format("/SSO/Check/GetUserName?token={0}&requestid={1}", GetToken(), remark);
try
{
var value = _helper.Get(null, requestUri);
return value;
}
catch (Exception ex)
{
throw ex;
}
}
/// <summary>
/// <20><>½<EFBFBD>ӿ<EFBFBD>
/// </summary>