Commit 7f8c69e6 by 泽锋 李

记录token 至cookie 里面

parent e3b519dc
......@@ -54,6 +54,9 @@ namespace AutoTurnOver.Models
}
if (token != null)
{
context.Response.Cookies.Delete("BailunToken");
context.Response.Cookies.Append("BailunToken",token,new CookieOptions { Domain = "bailuntec.com"});
var getTokenValid = ConfigHelper.GetValue("Saas_GetTokenValid").ToString();
var getUser = ConfigHelper.GetValue("Saas_GetUser").ToString();
var getMenus = ConfigHelper.GetValue("Saas_GetMenus").ToString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment