优化读单
This commit is contained in:
1 parent
171064f03f
commit
5e453e2927
10 files changed
+566
-402
No files matched your search
@@ -5,6 +5,7 @@ using AllBase.DouYinModel.Param.LoginManage;
|
||||
using NaiBa.Util;
|
||||
using NaiBa.Util.Extension;
|
||||
using NaiBa.Util.Helper;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -99,7 +100,7 @@ namespace _29WxOrderWpf.Windows.LoginWindows
|
||||
}
|
||||
}
|
||||
|
||||
private void btnLogin_Click(object sender, RoutedEventArgs e)
|
||||
private async void btnLogin_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
UserLogin ul = new UserLogin();
|
||||
ul.Mobile = cmbUserNameMobile.Text;
|
||||
@@ -128,7 +129,17 @@ namespace _29WxOrderWpf.Windows.LoginWindows
|
||||
BaseMsgForm.ShowError(message, "登录失败");
|
||||
return;
|
||||
}
|
||||
MainWindow.Instance.Balance = BaseClass.Balance.ToString("0.00");
|
||||
try
|
||||
{
|
||||
//await UserLogin.GetUserOemAmount(16);
|
||||
//await UserLogin.GetUserOemAmount(20);
|
||||
//await UserLogin.GetUserOemAmount(26);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgWindow.ShowError("更新账户信息失败 " + ex.Message);
|
||||
return;
|
||||
}
|
||||
if (BaseClass.Remember)
|
||||
{
|
||||
Initialization i = new Initialization();
|
||||
@@ -154,6 +165,7 @@ namespace _29WxOrderWpf.Windows.LoginWindows
|
||||
MainWindow.Instance.lblDebug.Content = "[Dev]";
|
||||
}
|
||||
#endif
|
||||
MainWindow.Instance.Balance = BaseClass.Balance.ToString("0.00");
|
||||
this.IsLogin = true;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user