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

手机号改为工号

parent 695e57f6
No preview for this file type
...@@ -135,7 +135,7 @@ namespace AppBox ...@@ -135,7 +135,7 @@ namespace AppBox
private void LoginSuccess(string userId,string RedirectUrl) 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) if (user !=null)
{ {
//RegisterOnlineUser(user); //RegisterOnlineUser(user);
...@@ -153,7 +153,6 @@ namespace AppBox ...@@ -153,7 +153,6 @@ namespace AppBox
CreateFormsAuthenticationTicket(user.Name, roleIDs, isPersistent, expiration); CreateFormsAuthenticationTicket(user.Name, roleIDs, isPersistent, expiration);
var _requestUrl = Request.Url.AbsolutePath; var _requestUrl = Request.Url.AbsolutePath;
// 重定向到登陆后首页 // 重定向到登陆后首页
Response.Redirect(RedirectUrl); Response.Redirect(RedirectUrl);
} }
...@@ -164,6 +163,7 @@ namespace AppBox ...@@ -164,6 +163,7 @@ namespace AppBox
} }
private bool IsSystemTheme(string themeName) private bool IsSystemTheme(string themeName)
{ {
themeName = themeName.ToLower(); themeName = themeName.ToLower();
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<WebPublishMethod>FileSystem</WebPublishMethod> <WebPublishMethod>FileSystem</WebPublishMethod>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> <LastUsedBuildConfiguration>Debug</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform> <LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish /> <SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data> <ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>\\192.168.10.88\afs.panda-group.cn</publishUrl> <publishUrl>G:\AppBoxPulish</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles> <DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
\ No newline at end of file
No preview for this file type
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
<!-- 密码 --> <!-- 密码 -->
</mySection> </mySection>
<appSettings> <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> </appSettings>
<connectionStrings> <connectionStrings>
<clear /> <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" /--> <!--add name="MySQL" connectionString="Server=localhost;Database=NewAfterService;Uid=root;Pwd=root;Charset=utf8" providerName="MySql.Data.MySqlClient" /-->
</connectionStrings> </connectionStrings>
<FineUIPro DebugMode="true" Theme="Default" EnableAnimation="true" /> <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 ...@@ -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.csproj.CopyComplete
G:\AppBox\MisDelivery\obj\Debug\MisDelivery.dll G:\AppBox\MisDelivery\obj\Debug\MisDelivery.dll
G:\AppBox\MisDelivery\obj\Debug\MisDelivery.pdb 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