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