拼多多商品获取逻辑

This commit is contained in:
wule committed 2025-09-11 19:06:16 +08:00
1 parent 840636d5c9
commit 6639224771
68 files changed
+7132 -692

No files matched your search

+33 -9
View File
@@ -18,6 +18,7 @@ using TemuKJD.KJDForms.ToolForms;
using System.Reflection;
using System.Net;
using System.Collections;
using TemuKJD.KJDForms.AdminForms;
using TemuKJD.KJDForms.ShopForms;
using TemuKJD.KJDForms.ProductForms;
using TemuKJD.KJDForms.OrderForms;
@@ -38,8 +39,9 @@ using NaiBa.Util;
using AllBase.Model.Param.ProductManage;
using TemuKJD.KJDForms.SalesCenterForms;
using NaiBa.CefHelper.Handler;
using TemuKJD.KJDForms.AdminForms;
using TemuKJD.PDDForms.AdminForms;
using TemuKJD.PDDForms.ShopForms;
using TemuKJD.PDDForms.ProductForms;
namespace TemuKJD
{
@@ -656,24 +658,46 @@ namespace TemuKJD
}
}
private AdminForm adminForm;
private object adminForm;
private void pnlSA_Click(object sender, EventArgs e)
{
if (adminForm == null)
if (BaseClass.MainPath == "kuajingda")
{
adminForm = new AdminForm();
if (adminForm == null)
{
adminForm = new AdminForm();
}
ShowMainPanel(adminForm as AdminForm, sender as Panel);
}
else
{
if (adminForm == null)
{
adminForm = new PDDAdminForm();
}
ShowMainPanel(adminForm as PDDAdminForm, sender as Panel);
}
ShowMainPanel(adminForm, sender as Panel);
}
private ProductForm uploadForm;
private object uploadForm;
public void pnlUpload_Click(object sender, EventArgs e)
{
if (uploadForm == null)
if (BaseClass.MainPath == "kuajingda")
{
uploadForm = new ProductForm();
if (uploadForm == null)
{
uploadForm = new ProductForm();
}
ShowMainPanel(uploadForm as ProductForm, sender as Panel);
}
else
{
if (uploadForm == null)
{
uploadForm = new PDDProductForm();
}
ShowMainPanel(uploadForm as PDDProductForm, sender as Panel);
}
ShowMainPanel(uploadForm, sender as Panel);
}
//private CollectForm collectForm;