跳转URL地址可配

This commit is contained in:
yubaolee
2016-07-08 19:43:35 +08:00
parent 6bd3a04a9d
commit dcfc2ee6b4
2 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
using System.Web.Mvc;
using System.Configuration;
using System.Web.Mvc;
using OpenAuth.App;
using OpenAuth.App.SSO;
@@ -17,7 +18,7 @@ namespace OpenAuth.WebTest.Controllers
public ActionResult Admin()
{
return Redirect("http://localhost:56813?token=" + Request.Cookies["Token"].Value);
return Redirect(ConfigurationManager.AppSettings["OpenAuthURL"] + "?token=" + Request.Cookies["Token"].Value);
}
}