liuxiaolong
2019-12-19 94bcda3ef533ac0ab0f5c0786554a9efe4c27f4d
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, "升级失败"}
)