|
@@ -96,7 +96,7 @@ class SpecService extends BaseService
|
|
|
*/
|
|
|
public function cartesian(array $specIdArr)
|
|
|
{
|
|
|
- $specS = Spec::whereIn("id", $specIdArr)->get();
|
|
|
+ $specS = Spec::with("attrs")->whereIn("id", $specIdArr)->get();
|
|
|
|
|
|
$attrS = collect();
|
|
|
$cartesianProduct = new CartesianProduct();
|