达人广场邀约达人功能

This commit is contained in:
wule committed 2026-03-19 20:44:33 +08:00
1 parent c489c30bf1
commit b502c6a2ed
20 files changed
+3224 -193

No files matched your search

@@ -53,12 +53,6 @@ namespace TemuKJD.WXForms.ProductForms
//public Dictionary<string, List<string>> dicCheckedShopIdList = new Dictionary<string, List<string>>();
public Dictionary<string, bool> dicCheckedShopId = new Dictionary<string, bool>();
public Dictionary<string, WxShopUploadInfo> dicShopUpload = new Dictionary<string, WxShopUploadInfo>();
public string pdd_product_cates = "";
public List<string> forceFilteKeyWords = new List<string>()
{
"亏本", "冲量", "白菜价", "跳楼价", "xxx", "xx", "最大", "最小", "低价", "降价", "成本", "赔钱", "甩卖",
"真丝", "蚕丝", "香云纱", "羊绒", "羊毛", "羊羔绒", "羊羔毛", "羽绒", "皮草"
};
public WXProdPreSaleForm()
{
InitializeComponent();
@@ -105,17 +99,14 @@ namespace TemuKJD.WXForms.ProductForms
wxUploadRule = NaiBa.Util.Helper.ConfigHelper.LoadConfig<WXUploadRule>("wx_upload_rule");
if (wxUploadRule == null)
wxUploadRule = new WXUploadRule();
var filteWords = wxUploadRule.FilterWords.Split(new string[] { ",", ",", " ", "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
filteWords.RemoveAll(w => forceFilteKeyWords.Contains(w));
filteWords.AddRange(forceFilteKeyWords);
wxUploadRule.FilterWords = string.Join(",", filteWords);
this.txtPreDays.TextChanged -= txtPreDays_TextChanged;
this.chkPreSale.CheckedChanged -= chkPreSale_CheckedChanged;
this.chkNoPreSale.CheckedChanged -= chkNoPreSale_CheckedChanged;
this.txtPreDays.Text = wxUploadRule.PreSaleDays.ParseToString();
this.chkPreSale.Checked = wxUploadRule.IsPreSale.ParseToBool();
this.chkNoPreSale.Checked = !wxUploadRule.IsPreSale.ParseToBool();
this.txtPreDays.Text = wxUploadRule?.PreSaleDays.ParseToString();
this.chkPreSale.Checked = (wxUploadRule?.IsPreSale).ParseToBool();
this.chkNoPreSale.Checked = !(wxUploadRule?.IsPreSale).ParseToBool();
this.txtPreDays.TextChanged += txtPreDays_TextChanged;
this.chkPreSale.CheckedChanged += chkPreSale_CheckedChanged;
@@ -317,7 +308,7 @@ namespace TemuKJD.WXForms.ProductForms
{
//if (shop.LoginStatus == "登录成功")
//{
// var rst = WXUpload.scanProductPreview(shop);
// var rst = WXPreSale.scanProductPreview(shop);
// if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
// {
// WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);