Explorar el Código

知识库类别新增类别总数

zhouyuexiang hace 4 meses
padre
commit
152ad14ab4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      api/services/dataset_service.py

+ 1 - 0
api/services/dataset_service.py

@@ -278,6 +278,7 @@ class DatasetService:
             percentage = (row.count / total) * 100
             stats.append({
                 "type": row.name,
+                "count": row.count,
                 "percentage": round(percentage, 2)
             })