mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:03:27 +08:00
【优化】优化多种全局促销及优惠券组合模式下,后端管理促销显示误差的问题。
This commit is contained in:
@@ -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();
|
||||
//}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user