base
parent
ac9428176a
commit
d526282192
|
|
@ -49,6 +49,7 @@ class StoreController extends Controller
|
||||||
$list = $store->productSpus()
|
$list = $store->productSpus()
|
||||||
->with(['specs'])
|
->with(['specs'])
|
||||||
->filter($input)
|
->filter($input)
|
||||||
|
->field(['product_spus.id'])
|
||||||
->wherePivot('status', 1)
|
->wherePivot('status', 1)
|
||||||
->groupBy('product_spus.id')
|
->groupBy('product_spus.id')
|
||||||
->simplePaginate(Paginator::resolvePerPage('per_page', 20, 50));
|
->simplePaginate(Paginator::resolvePerPage('per_page', 20, 50));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue