1店铺登录逻辑优化 2备货单查询显示
This commit is contained in:
1 parent
89eb9ce9d4
commit
862ad088f5
216 files changed
+3481
-1543
No files matched your search
@@ -2,8 +2,8 @@
|
||||
using AllBase.Helper;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using LittleRabbit.Helper;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using TemuKJD.Helper;
|
||||
using TemuKJD.KJDForms.BaseForms;
|
||||
using NaiBa.CefHelper;
|
||||
using NaiBa.Util;
|
||||
using NaiBa.Util.Extension;
|
||||
@@ -20,7 +20,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LittleRabbit.DashBoardForms
|
||||
namespace TemuKJD.DashBoardForms
|
||||
{
|
||||
public partial class DashBoardForm : Form
|
||||
{
|
||||
@@ -89,17 +89,17 @@ namespace LittleRabbit.DashBoardForms
|
||||
this.rbChat.CheckedChanged += rbChat_CheckedChanged;
|
||||
rbInvite.Checked = true;
|
||||
|
||||
for (int i = 0; i < GlobalConfig.DouShopLoginList.Count; i++)
|
||||
for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
|
||||
{
|
||||
var shop = GlobalConfig.DouShopLoginList[i];
|
||||
var shop = GlobalConfig.ShopLoginList[i];
|
||||
this.cmbShop.Items.Add(shop.ShopAccount);
|
||||
}
|
||||
this.cmbShop.SelectedIndex = 0;
|
||||
|
||||
string cookie = "";
|
||||
if (GlobalConfig.DouShopLoginList.Count > 0)
|
||||
if (GlobalConfig.ShopLoginList.Count > 0)
|
||||
{
|
||||
cookie = GlobalConfig.DouShopLoginList[0].Cookies;
|
||||
cookie = GlobalConfig.ShopLoginList[0].Cookies;
|
||||
}
|
||||
InitCef(cookie);
|
||||
}
|
||||
@@ -750,7 +750,7 @@ namespace LittleRabbit.DashBoardForms
|
||||
private void btnLoginDouyin_Click(object sender, EventArgs e)
|
||||
{
|
||||
string cookie = "";
|
||||
var shop = GlobalConfig.DouShopLoginList.FirstOrDefault(s => s.ShopAccount == cmbShop.SelectedItem.ToString());
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == cmbShop.SelectedItem.ToString());
|
||||
if (shop != null)
|
||||
cookie = shop.Cookies;
|
||||
InitCef(cookie);
|
||||
|
||||
Reference in new issue
Block a user