增加商铺续费最低抽佣金额。

特殊账号允许编辑10元价格
This commit is contained in:
chfei committed 2026-11-04 17:11:02 +08:00
1 parent da51369859
commit 09769d8d48
5 files changed
+373 -309

No files matched your search

@@ -189,6 +189,7 @@ namespace TemuKJD.WXForms.AdminForms
user.sync_logistics_per_order = BaseRegex.GetDecimalJson(ref oStr, "sync_logistics_per_order");
user.oem_id = BaseRegex.GetStringJson(ref oStr, "oem_id");
user.oem_name = BaseRegex.GetStringJson(ref oStr, "oem_name");
user.shop_renewal_platform_floor_fee = BaseRegex.GetDecimalJson(ref oStr, "shop_renewal_platform_floor_fee");
var parent_user_name = BaseRegex.GetStringJson(ref oStr, "parent_user_name");
AllUsers.Add(user);
@@ -378,6 +379,9 @@ namespace TemuKJD.WXForms.AdminForms
this.pnlShopPointsPerMonth.Visible = true;
this.pnlShopPointsPerMonth.BringToFront();
this.lblShopPointsPerMonthUserId.Text = uid;
this.num_shop_renewal_platform_floor_fee.Value = AllUsers.FirstOrDefault(a => a.user_name == mobile)?.shop_renewal_platform_floor_fee ?? 0;
}
if (columName == "colChangePostagePerOrder")
{
@@ -583,7 +587,7 @@ namespace TemuKJD.WXForms.AdminForms
string data = UserLogin.GetSignaturex();
data += "&id=" + userDbId;
data += "&shop_points_per_month=" + numShopPointsPerMonth.Value;
data += "&shop_renewal_platform_floor_fee=" + num_shop_renewal_platform_floor_fee.Value;
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
if (!html.Contains("\"code\":200"))
{
@@ -599,6 +603,11 @@ namespace TemuKJD.WXForms.AdminForms
{
Invoke(new Action(() => { row.Cells["colShopPointsPerMonth"].Value = numShopPointsPerMonth.Value; }));
}
var item = AllUsers.FirstOrDefault(a => a.id.ToString() == userDbId);
if (item != null)
{
item.shop_renewal_platform_floor_fee = num_shop_renewal_platform_floor_fee.Value;
}
return true;
}