店铺优化相关功能
This commit is contained in:
1 parent
9805792aed
commit
0e6a927cf2
43 files changed
+3305
-1604
No files matched your search
@@ -36,6 +36,7 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
login,
|
||||
manage,
|
||||
refresh_cookie,
|
||||
order_login,
|
||||
}
|
||||
public partial class PDDShopLoginForm : BaseGeneralForm
|
||||
{
|
||||
@@ -515,7 +516,19 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
txtAddress.Text = e.Address;
|
||||
}));
|
||||
}
|
||||
if (e.Address == "https://po.e57.cn/login?redirect=%2Findex" && shop != null && !string.IsNullOrEmpty(shop.LoginName))
|
||||
if (e.Address == "https://po.e57.cn/login?redirect=%2Findex" && openType == EnumOpenType.manage)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
Thread.Sleep(2000);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created && !this.IsDisposed && !this.Disposing)
|
||||
this.Close();
|
||||
}));
|
||||
});
|
||||
}
|
||||
if (e.Address == "https://po.e57.cn/login?redirect=%2Findex" && openType == EnumOpenType.order_login && shop != null && !string.IsNullOrEmpty(shop.LoginName))
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -670,7 +683,8 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
if (this.Created && !this.Disposing && !this.IsDisposed)
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
try { this.TitleText = "店铺登录 - " + GetAntiContentsTimes; } catch { return; }
|
||||
if (this.Created && !this.Disposing && !this.IsDisposed)
|
||||
try { this.TitleText = "店铺登录 - " + GetAntiContentsTimes; } catch { return; }
|
||||
}));
|
||||
shop.AntiContents.Add(antiContent);
|
||||
while (shop.AntiContents.Count > 100)
|
||||
|
||||
Reference in new issue
Block a user