Commit 70c437a2 authored by 叶凯's avatar 叶凯

手机号改为工号

parent 695e57f6
No preview for this file type
......@@ -135,7 +135,7 @@ namespace AppBox
private void LoginSuccess(string userId,string RedirectUrl)
{
var user = DB.Users.FirstOrDefault(p => p.CellPhone == userId && p.Deleted == 0);
var user = DB.Users.FirstOrDefault(p => p.Name == userId && p.Deleted == 0);
if (user !=null)
{
//RegisterOnlineUser(user);
......@@ -153,7 +153,6 @@ namespace AppBox
CreateFormsAuthenticationTicket(user.Name, roleIDs, isPersistent, expiration);
var _requestUrl = Request.Url.AbsolutePath;
// 重定向到登陆后首页
Response.Redirect(RedirectUrl);
}
......@@ -164,6 +163,7 @@ 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>Release</LastUsedBuildConfiguration>
<LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>\\192.168.10.88\afs.panda-group.cn</publishUrl>
<publishUrl>G:\AppBoxPulish</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
</Project>
\ No newline at end of file
No preview for this file type
......@@ -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
......@@ -39,3 +39,4 @@ G:\AppBox\MisDelivery\obj\Debug\MisDelivery.csproj.CoreCompileInputs.cache
G:\AppBox\MisDelivery\obj\Debug\MisDelivery.csproj.CopyComplete
G:\AppBox\MisDelivery\obj\Debug\MisDelivery.dll
G:\AppBox\MisDelivery\obj\Debug\MisDelivery.pdb
G:\AppBox\MisDelivery\obj\Debug\MisDelivery.csproj.AssemblyReference.cache
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