From 2bd2068c999cda5bda8c0787ed0dcaac6cb7afdb Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 31 十月 2019 13:27:46 +0800
Subject: [PATCH] feat: add system reboot api

---
 controllers/cluster.go |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/controllers/cluster.go b/controllers/cluster.go
index 6692323..f81dade 100644
--- a/controllers/cluster.go
+++ b/controllers/cluster.go
@@ -54,6 +54,7 @@
 	NodeIps []string `json:"nodeIps"`
 }
 
+// @Security ApiKeyAuth
 // @Summary 鍒涘缓闆嗙兢
 // @Description 鍒涘缓闆嗙兢
 // @Accept json
@@ -79,6 +80,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鐢熸垚闆嗙兢6浣嶉殢鏈哄瘑鐮�
 // @Description 鐢熸垚闆嗙兢6浣嶉殢鏈哄瘑鐮�
 // @Produce json
@@ -91,6 +93,7 @@
 	util.ResponseFormat(c,code.Success,pwd)
 }
 
+// @Security ApiKeyAuth
 // @Summary 鏌ヨ鏈湴闆嗙兢
 // @Description 鏌ヨ鏈湴闆嗙兢
 // @Produce json
@@ -108,6 +111,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 鎼滅储闆嗙兢
 // @Description 鎼滅储闆嗙兢
 // @Accept json
@@ -133,6 +137,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 閫氳繃searchNum寮傛鑾峰彇闆嗙兢鑺傜偣淇℃伅
 // @Description 閫氳繃searchNum寮傛鑾峰彇闆嗙兢鑺傜偣淇℃伅
 // @Accept json
@@ -151,6 +156,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 閫氳繃searchNum鍋滄鎼滅储
 // @Description 閫氳繃searchNum鍋滄鎼滅储
 // @Produce json
@@ -168,13 +174,13 @@
 	}
 }
 
-
+// @Security ApiKeyAuth
 // @Summary 鍔犲叆闆嗙兢
 // @Description 鍔犲叆闆嗙兢
 // @Accept json
 // @Produce json
 // @Tags cluster
-// @Param  clusterArg body controllers.ClusterCreateVo true "闆嗙兢鍒涘缓鍙傛暟"
+// @Param  clusterArg body controllers.ClusterJoinVo true "闆嗙兢鍒涘缓鍙傛暟"
 // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}"
 // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}"
 // @Router /data/api-v/cluster/joinCluster [post]
@@ -195,6 +201,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 淇濆瓨闆嗙兢鍚嶇О
 // @Description 淇濆瓨闆嗙兢鍚嶇О
 // @Produce json
@@ -220,6 +227,7 @@
 	}
 }
 
+// @Security ApiKeyAuth
 // @Summary 閫�鍑洪泦缇�
 // @Description 閫�鍑洪泦缇�
 // @Produce json

--
Gitblit v1.8.0