订单功能服务端新增 商品编辑功能优化等

This commit is contained in:
wule committed 2026-06-19 16:53:34 +08:00
1 parent 33eafd6781
commit f2534535f7
22 files changed
+911 -98

No files matched your search

@@ -116,7 +116,8 @@ namespace TemuKJD.WXForms.ShopForms
if (!this.Created)
break;
if (this.shop != null && currentUrl.TrimEnd('/') == shopMainUrl)
//if (this.shop != null && currentUrl.TrimEnd('/') == shopMainUrl)
if (this.shop != null && currentUrl.StartsWith( shopMainUrl))
{
if (!cefWebBrowser.GetBrowser().MainFrame.IsValid)
continue;
@@ -678,6 +679,7 @@ namespace TemuKJD.WXForms.ShopForms
{
var username = BaseRegex.GetStringJson(ref data, "username");
var maskMobile = BaseRegex.GetStringJson(ref data, "mobile");
var mall_name = BaseRegex.GetStringJson(ref data, "mall_name");
if (!string.IsNullOrEmpty(username) && !string.IsNullOrEmpty(maskMobile))
{
@@ -685,7 +687,7 @@ namespace TemuKJD.WXForms.ShopForms
if (string.IsNullOrWhiteSpace(maskMobile) || string.IsNullOrWhiteSpace(username))
return;
if (shop.LoginName.EndsWith(maskMobile) || shop.LoginName == username)
if (shop.LoginName.EndsWith(maskMobile) || shop.LoginName == username || shop.LoginName == mall_name)
{
lstShopCompany.Clear();
//var jObj = JObject.Parse(data);
@@ -709,6 +711,8 @@ namespace TemuKJD.WXForms.ShopForms
}
}
if (openType == EnumOpenType.manage && string.IsNullOrWhiteSpace(shop.MallId))
{
shop.MallId = BaseRegex.GetStringJson(ref data, "mall_id");