cqp 3 달 전
부모
커밋
534228b0e8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/ProductService.php

+ 1 - 1
app/Service/ProductService.php

@@ -1178,7 +1178,7 @@ class ProductService extends Service
     public function productGroupByListData($data, $user, $search){
         if(empty($data['data'])) return $data;
 
-        $type = $search['type'] ?? 0;
+        $type = $search['type'] ?? 1;
         $category = ProductCategory::whereIn('id',array_unique(array_column($data['data'],'product_category_id')))
             ->select('title','id')
             ->get()