mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:03:27 +08:00
【优化】取消首页页面设计内服务商品已下架或售罄商品的展示。
This commit is contained in:
@@ -638,7 +638,7 @@ namespace CoreCms.Net.Services
|
||||
|
||||
if (ids.Any())
|
||||
{
|
||||
var serviceObj = await _servicesServices.QueryListByClauseAsync(p => ids.Contains(p.id), p => p.id, OrderByType.Asc, true, true);
|
||||
var serviceObj = await _servicesServices.QueryListByClauseAsync(p => ids.Contains(p.id) && p.status == (int)GlobalEnumVars.ServicesStatus.Shelve && p.amount > 0, p => p.id, OrderByType.Asc, true, true);
|
||||
foreach (var jToken in result)
|
||||
{
|
||||
var ss = (JObject)jToken;
|
||||
|
||||
Reference in New Issue
Block a user