feat(noc): integrate DocumentStat model and sync with external NOC API

This commit is contained in:
2026-03-31 15:04:51 +08:00
parent 11ef320d55
commit 6ace5b5d1c
9 changed files with 260 additions and 39 deletions

View File

@@ -802,26 +802,38 @@
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"category",
"count"
"label",
"value",
"color"
],
"properties": {
"category": {
"label": {
"type": "string"
},
"count": {
"value": {
"type": "number"
},
"color": {
"type": "string"
}
}
}
}
},
"required": [
"success",
"message",
"data"
]
}
@@ -830,26 +842,38 @@
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"category",
"count"
"label",
"value",
"color"
],
"properties": {
"category": {
"label": {
"type": "string"
},
"count": {
"value": {
"type": "number"
},
"color": {
"type": "string"
}
}
}
}
},
"required": [
"success",
"message",
"data"
]
}
@@ -858,26 +882,38 @@
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"category",
"count"
"label",
"value",
"color"
],
"properties": {
"category": {
"label": {
"type": "string"
},
"count": {
"value": {
"type": "number"
},
"color": {
"type": "string"
}
}
}
}
},
"required": [
"success",
"message",
"data"
]
}