cqp hace 2 meses
padre
commit
bdf14bbe4f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Service/QuantizationService.php

+ 2 - 2
app/Service/QuantizationService.php

@@ -356,8 +356,8 @@ class QuantizationService extends Service
                         'title'           => $son['title'],
                         'title'           => $son['title'],
                         'parent_id'       => $parent->id, // 子级关联父级 id
                         'parent_id'       => $parent->id, // 子级关联父级 id
                         'crt_time'        => $time,
                         'crt_time'        => $time,
-                        'dimension_id' => $value['dimension_id'] ?? 0,
-                        'score' => $value['score'] ?? 0,
+                        'dimension_id' => $son['dimension_id'] ?? 0,
+                        'score' => $son['score'] ?? 0,
                     ];
                     ];
                 }
                 }
             }
             }