From 443fb992699818305e3d7f6885ca7d1d36fbe7cd Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 01 十一月 2023 15:47:57 +0800 Subject: [PATCH] 增加系统运行时间,系统状态,集群状态,集群节点数 --- docs/docs.go | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c4341c0..27a9079 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1482,6 +1482,14 @@ "response.DeviceListResponse": { "type": "object", "properties": { + "clusterNodeQuantity": { + "description": "闆嗙兢鑺傜偣鏁伴噺", + "type": "integer" + }, + "clusterStatus": { + "description": "闆嗙兢鐘舵��", + "type": "string" + }, "currentDeviceID": { "description": "褰撳墠閫夊畾鐨勭敓浜ц澶�", "type": "string" @@ -1496,6 +1504,18 @@ "systemDeviceID": { "description": "宸ユ帶鏈鸿澶嘔D", "type": "string" + }, + "systemDeviceRunSince": { + "description": "绯荤粺杩愯寮�濮嬫椂闂存埑", + "type": "integer" + }, + "systemDeviceStatus": { + "description": "璁惧鐘舵��", + "allOf": [ + { + "$ref": "#/definitions/response.SystemDeviceStatus" + } + ] } } }, @@ -1551,6 +1571,21 @@ } } }, + "response.SystemDeviceStatus": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "SystemDeviceStatusNormal": "姝e父", + "SystemDeviceStatusUnNormal": "寮傚父" + }, + "x-enum-varnames": [ + "SystemDeviceStatusNormal", + "SystemDeviceStatusUnNormal" + ] + }, "response.TaskCountdown": { "type": "object", "properties": { -- Gitblit v1.8.0