拼多多接口调用调试 微信商品随机逻辑调整

This commit is contained in:
wule committed 2026-03-28 01:52:42 +08:00
1 parent 3b3a903e25
commit b2c152889a
8 files changed
+661 -114

No files matched your search

@@ -4072,7 +4072,9 @@ namespace TemuKJD.WXForms.ProductForms
//-------------------------------------------------------------------------------------------------------------------------------------
//生成主图base64字符串
string getImgError;
var image = GetHtml.GetUrlImg(img_url.Replace("https://", "http://"), out getImgError);
if (!img_url.Contains("wst.wxapp.tc.qq.com"))
img_url = img_url.Replace("https://", "http://");
var image = GetHtml.GetUrlImg(img_url, out getImgError);
if (image == null)
image = new Bitmap(800, 800);
if (imgWidth == 0 || imgHeight == 0)
@@ -4315,7 +4317,7 @@ namespace TemuKJD.WXForms.ProductForms
data += "&in_ext_codes=" + txtExtCodeFilter.Text;
data += "&in_spu_ids=" + txtIdFilter.Text;
data += "&in_groups=" + cmbGroupFilter.Text;
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "微信店采")
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
data += "&in_cates=" + cmbCateFilter1.Text;
else
{