cqp 3 月之前
父节点
当前提交
bdf14bbe4f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Service/QuantizationService.php

+ 2 - 2
app/Service/QuantizationService.php

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