Commit d579d77d authored by 叶凯's avatar 叶凯

去掉二次跳转,回滚代码

parent 0c7e754b
No preview for this file type
......@@ -153,7 +153,9 @@ namespace AppBox
CreateFormsAuthenticationTicket(user.Name, roleIDs, isPersistent, expiration);
var _requestUrl = Request.Url.AbsolutePath;
Response.Redirect("~/main.aspx?redirurl=" + HttpUtility.UrlEncode(RedirectUrl));
// 重定向到登陆后首页
Response.Redirect(RedirectUrl);
}
else
{
......@@ -162,7 +164,6 @@ namespace AppBox
}
private bool IsSystemTheme(string themeName)
{
themeName = themeName.ToLower();
......
......@@ -6,12 +6,12 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod>
<LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>G:\AppBoxPulish</publishUrl>
<publishUrl>\\192.168.10.88\afs.panda-group.cn</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -19,11 +19,11 @@
<!-- 密码 -->
</mySection>
<appSettings>
<add key="Default" value="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=NewAfterService;Data Source=192.168.10.151;MultipleActiveResultSets=true;Max Pool Size=300" />
<add key="Default" value="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=NewAfterService_V2;Data Source=192.168.10.151;MultipleActiveResultSets=true;Max Pool Size=300" />
</appSettings>
<connectionStrings>
<clear />
<add name="Default" connectionString="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=NewAfterService;Data Source=192.168.10.151;MultipleActiveResultSets=true;Max Pool Size=300" providerName="System.Data.SqlClient" />
<add name="Default" connectionString="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=NewAfterService_V2;Data Source=192.168.10.151;MultipleActiveResultSets=true;Max Pool Size=300" providerName="System.Data.SqlClient" />
<!--add name="MySQL" connectionString="Server=localhost;Database=NewAfterService;Uid=root;Pwd=root;Charset=utf8" providerName="MySql.Data.MySqlClient" /-->
</connectionStrings>
<FineUIPro DebugMode="true" Theme="Default" EnableAnimation="true" />
......
No preview for this file type
No preview for this file type
......@@ -92,14 +92,6 @@ namespace AppBox
{
Tree treeMenu = InitTreeMenu(menus);
}
if (!string.IsNullOrWhiteSpace(Request.QueryString["redirurl"]))
{
var nvc = HttpUtility.ParseQueryString(Request.Url.Query);
var _url = nvc.Get("redirurl");
var _url2 = HttpUtility.UrlDecode(_url);
Response.Redirect(_url2);
}
}
#region InitAccordionMenu
......
......@@ -87,3 +87,4 @@ G:\AppBox\AppBox\obj\Debug\AppBox.csproj.AssemblyReference.cache
G:\AppBox\AppBox\obj\Debug\AppBox.csproj.CoreCompileInputs.cache
G:\AppBox\AppBox\obj\Debug\AppBox.dll
G:\AppBox\AppBox\obj\Debug\AppBox.pdb
G:\AppBox\AppBox\obj\Debug\AppBox.csproj.CopyComplete
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