【优化】优化多种全局促销及优惠券组合模式下,后端管理促销显示误差的问题。

This commit is contained in:
jianweie code
2023-11-12 23:54:27 +08:00
parent 26734139fb
commit 5e5aacdf59
3 changed files with 21 additions and 8 deletions

View File

@@ -753,10 +753,11 @@ namespace CoreCms.Net.Services
if (!string.IsNullOrEmpty(p.promotionList))
{
var jobj = JObject.Parse(p.promotionList);
if (jobj.Values().Any())
{
p.promotionObj = jobj.Values().FirstOrDefault();
}
p.promotionObj = jobj.Values();
//if (jobj.Values().Any())
//{
// p.promotionObj = jobj.Values().FirstOrDefault();
//}
}
});
}