|
@@ -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);
|