6
0
Fork 0
panliang 2023-02-15 17:08:44 +08:00
parent ac9428176a
commit d526282192
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class StoreController extends Controller
$list = $store->productSpus()
->with(['specs'])
->filter($input)
->field(['product_spus.id'])
->wherePivot('status', 1)
->groupBy('product_spus.id')
->simplePaginate(Paginator::resolvePerPage('per_page', 20, 50));