cqp 3 月之前
父節點
當前提交
abf125005b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/ProductService.php

+ 1 - 1
app/Service/ProductService.php

@@ -1222,7 +1222,7 @@ class ProductService extends Service
 
     public function productGroupByListDetail($data, $user){
         if(empty($data['item_code'])) return [false, '商品编码不能为空'];
-        $type = $data['type'] ?? 0;
+        $type = $data['type'] ?? 1;
 
         //获取相同itemCode的产品
         $product = $this->getProductByItemCode([$data['item_code']], $user);