调整预售商品列表
This commit is contained in:
parent
d87820109a
commit
181fe6ecb4
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user