无商品的商户不在移动端显示

This commit is contained in:
zjf committed 2025-10-27 16:02:58 +08:00
1 parent f868d94b08
commit daea412d34
1 file changed
+3 -1
@@ -220,7 +220,9 @@ public class MallAppController {
// }
return mallMerchantListAppVo;
}).collect(Collectors.toList());
})
.filter(vo -> vo.getProductCount() > 0) // 过滤掉没有商品的商户
.collect(Collectors.toList());
return R.ok(result);
}