【修复】修复秒杀列表显示错误的问题。

This commit is contained in:
大灰灰
2022-10-25 15:12:04 +08:00
parent 3aacf52dbb
commit b6739902da
7 changed files with 13 additions and 24 deletions

View File

@@ -551,6 +551,7 @@ namespace CoreCms.Net.Services
else
{
product = await _productsServices.QueryByClauseAsync(p => p.goodsId == good.id && p.isDel == false && p.isDefalut == true, true);
if (product == null) return null;
}
//商品基础赋值===================================================================================================