liuxiaolong
2019-12-20 c2f8c24f1ddb67f890f9ac4af5328e65a46aab75
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, "升级失败"}
)