From 443fb992699818305e3d7f6885ca7d1d36fbe7cd Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 01 十一月 2023 15:47:57 +0800
Subject: [PATCH] 增加系统运行时间,系统状态,集群状态,集群节点数

---
 docs/swagger.yaml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index a990e3a..5e38b70 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -491,6 +491,12 @@
     type: object
   response.DeviceListResponse:
     properties:
+      clusterNodeQuantity:
+        description: 闆嗙兢鑺傜偣鏁伴噺
+        type: integer
+      clusterStatus:
+        description: 闆嗙兢鐘舵��
+        type: string
       currentDeviceID:
         description: 褰撳墠閫夊畾鐨勭敓浜ц澶�
         type: string
@@ -502,6 +508,13 @@
       systemDeviceID:
         description: 宸ユ帶鏈鸿澶嘔D
         type: string
+      systemDeviceRunSince:
+        description: 绯荤粺杩愯寮�濮嬫椂闂存埑
+        type: integer
+      systemDeviceStatus:
+        allOf:
+        - $ref: '#/definitions/response.SystemDeviceStatus'
+        description: 璁惧鐘舵��
     type: object
   response.ListResponse:
     properties:
@@ -537,6 +550,17 @@
       totalNumber:
         type: integer
     type: object
+  response.SystemDeviceStatus:
+    enum:
+    - 1
+    - 2
+    type: integer
+    x-enum-comments:
+      SystemDeviceStatusNormal: 姝e父
+      SystemDeviceStatusUnNormal: 寮傚父
+    x-enum-varnames:
+    - SystemDeviceStatusNormal
+    - SystemDeviceStatusUnNormal
   response.TaskCountdown:
     properties:
       countDownHour:

--
Gitblit v1.8.0