liuxiaolong
2019-12-20 e0f0035a7d02098f14e9d800a16d42d4c9380e9c
extend/code/code.go
@@ -65,4 +65,7 @@
   CreateFirstNodeErr  = &Code{http.StatusInternalServerError, false, "创建节点失败!"}
   QueryClusterInfoErr = &Code{http.StatusInternalServerError, false, "查询失败,请确认您的ip是正确的!"}
   AddClusterInfoErr   = &Code{http.StatusInternalServerError, false, "加入节点失败!"}
   UpgradeSuccess = &Code{http.StatusOK, true, "升级成功"}
   UpgradeFail = &Code{http.StatusInternalServerError, false, "升级失败"}
)