店铺考核提供备注功能 微信带货助手采集功能

This commit is contained in:
wule committed 2026-05-14 02:55:53 +08:00
1 parent 4fa1fc03ca
commit 119b2f4f3e
64 files changed
+7940 -908

No files matched your search

+36 -1
View File
@@ -25,6 +25,7 @@ using TemuKJD.KJDForms.AdminForms;
using TemuKJD.BLL.PddApi;
using TemuKJD.PDDForms.ProductForms;
using TemuKJD.WXForms.ShopForms;
using TemuKJD.BLL.Wx;
namespace TemuKJD
{
@@ -206,7 +207,41 @@ namespace TemuKJD
if (BaseClass.MainPath != "weixin") // 微信才读取违规商品信息
return;
WXProdViolationManage.GetShopProdViolation();
new WXProdViolationManage().GetShopProdViolation();
});
#endregion
#region 微信小店读取店采爆款数据商品信息
Task.Run(() =>
{
while (!IsShopInit)
{
Thread.Sleep(1000);
}
while (MainForm.instance.Visible != true)
{
Thread.Sleep(1000);
if (WXForms.TalkForms.WxTalkForm.instance != null) // 客服不读取
return;
}
if (BaseClass.MainPath != "weixin") // 微信读取
return;
var url = BaseClass.BuildObjString("product/is_get_wx_recommend_hot_prod");
var data = "";
data = UserLogin.GetSignaturex();
var html = GetHtml.PostUtf8(url, data);
if (html.Contains("\"is_get\":\"true\""))
{
WxPlatformRecommendProdManage.minViewUv = Math.Max(100, BaseRegex.GetIntJson(ref html, "minViewUv"));
WxPlatformRecommendProdManage.getInterval = Math.Max(3, BaseRegex.GetIntJson(ref html, "getViewUvInterval"));
WxPlatformRecommendProdManage.isGetOnce = BaseRegex.GetBoolJson(ref html, "isGetOnce");
new WxPlatformRecommendProdManage().GetPlatformRecommendProduct();
}
});
#endregion