店铺登录逻辑处理

This commit is contained in:
wule committed 2025-07-01 09:33:30 +08:00
1 parent 311971ca21
commit 89eb9ce9d4
8 files changed
+139 -75

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ namespace LittleRabbit.LittleRabbitForms.ShopForms
{
//shop.ApiAuthStatus = "授权成功";
ShopListForm.UpdateShopTokens(GlobalConfig.DouShopLoginList.Where(s => s.ShopAccount == shop.ShopAccount).ToList());
StartUp.SaveDouShopLoginInfo();
StartUp.SaveLocalShopLoginInfo();
OnSaveComplete(shop);
if (this.Created && this.chkCloseAfterLogin.Checked)
{
@@ -134,7 +134,7 @@ namespace LittleRabbit.LittleRabbitForms.ShopForms
if (this.Created && this.chkCloseAfterLogin.Checked)
{
ShopListForm.UpdateShopTokens(GlobalConfig.DouShopLoginList.Where(s => s.ShopAccount == shop.ShopAccount).ToList());
StartUp.SaveDouShopLoginInfo();
StartUp.SaveLocalShopLoginInfo();
OnSaveComplete(shop);
Thread.Sleep(2000);
Invoke(new Action(() => { this.Close(); }));