调整预售商品列表

This commit is contained in:
luofei 2024-02-04 17:44:04 +08:00
parent d87820109a
commit 181fe6ecb4

View File

@ -223,6 +223,9 @@ class ProductPresellRepository extends BaseRepository
]);
$count = $query->count();
$list = $query->page($page, $limit)->select()->append(['coupon', 'tattend_one', 'tattend_two', 'seles']);
foreach ($list as &$item) {
$item['type'] = 0;
}
return compact('count', 'list');
}