extend/code/code.go
@@ -61,4 +61,7 @@ ComError = &Code{http.StatusInternalServerError, false, ""} ClusterNodesEmpty = &Code{http.StatusOK, true, "集群节点为空"} AddTaskErr = &Code{http.StatusInternalServerError, false, "此国标摄像机已在其它服务器配置任务!"} CreateFirstNodeErr = &Code{http.StatusInternalServerError, false, "创建节点失败!"} QueryClusterInfoErr = &Code{http.StatusInternalServerError, false, "查询失败,请确认您的ip是正确的!"} AddClusterInfoErr = &Code{http.StatusInternalServerError, false, "加入节点失败!"} )