店铺活动报名--店铺活动列表查询初步

This commit is contained in:
wule committed 2025-08-04 18:53:24 +08:00
1 parent 7ea35b6866
commit cc1bc3123f
69 files changed
+1729 -134

No files matched your search

@@ -83,7 +83,8 @@ namespace TemuKJD.KJDForms.ShopForms
this.btnOk.Text = "更新";
this.TitleText = "编辑店铺 - " + shopLoginInfo.ShopAccount;
this.txtBuyAccount.Text = shopLoginInfo.BuyAccount;
this.txtChatAccount.Text = shopLoginInfo.ChatAccount;
//this.txtChatAccount.Text = shopLoginInfo.ChatAccount;
this.txtChatAccount.Text = shopLoginInfo.SubUserName;
this.txtUploadAccount.Text = shopLoginInfo.UploadAccount;
this.label7.Visible = true;
this.txtLoginName.Enabled = false;
+2 -1
View File
@@ -69,7 +69,7 @@ namespace TemuKJD.KJDForms.ShopForms
+ "&login_name=" + _shop.LoginName
+ "&login_pass=" + GetHtml.UrlEncodeUtf8(_shop.Password)
+ "&shop_group=" + GetHtml.UrlEncodeUtf8(_shop.GroupName)
+ "&sub_user_name=" + GetHtml.UrlEncodeUtf8(_shop.SubUserName)
+ "&sub_user_name=" + _shop.SubUserName
+ "&notes=" + GetHtml.UrlEncodeUtf8(_shop.Notes);
var result = GetHtml.PostUtf8(url, data);
@@ -656,6 +656,7 @@ namespace TemuKJD.KJDForms.ShopForms
foreach (var sc in campanys)
{
sc.LoginStatus2 = "国际版在线";
sc.LastRefreshDate = DateTime.Now.ToString("yyyyMMdd");
}
}
//if (!string.IsNullOrEmpty(loginResult))
@@ -65,7 +65,7 @@ namespace TemuKJD.KJDForms.ShopForms
if (shop != null)
{
ShopSubAccountList.Clear();
ShopSubAccountList.AddRange(AllSubAccountList.Where(u=>shop.SubUserName==u.sub_user_name));
ShopSubAccountList.AddRange(AllSubAccountList.Where(u=>shop.SubUserName.Contains(u.sub_user_name)));
shop.ShopSubAccountList.Clear();
shop.ShopSubAccountList.AddRange(ShopSubAccountList);
NotShopSubAccountList.AddRange(AllSubAccountList.Where(u => !ShopSubAccountList.Any(bu => bu.id == u.id)));
@@ -94,9 +94,9 @@ namespace TemuKJD.KJDForms.ShopForms
{
if (this.flpShopSubAccount.Controls.Count > 0)
{
BaseMsgForm.ShowInfo("只能有一个子账户!");
s.lblRight_Click(null, null);
return;
//BaseMsgForm.ShowInfo("只能有一个子账户!");
//s.lblRight_Click(null, null);
//return;
}
this.flpNotSubAccount.Controls.Remove(s);
@@ -178,6 +178,7 @@ namespace TemuKJD.KJDForms.ShopForms
}
shop.SubUserName = shop.ShopSubAccountList.FirstOrDefault()?.sub_user_name;
shop.SubUserName = string.Join(",", shop.ShopSubAccountList.Select(s => s.sub_user_name));
var shopLst = AllBase.Helper.GlobalConfig.ShopLoginList.Where(s => s.LoginName == shop.LoginName && s.ShopId!= shop.ShopId);
foreach(var s in shopLst)
{