| | |
| | | Success = &Code{http.StatusOK, true, "请求处理成功"} |
| | | AddSuccess = &Code{http.StatusOK,true,"添加成功"} |
| | | UpdateSuccess = &Code{http.StatusOK,true,"更新成功"} |
| | | UpdateFail = &Code{http.StatusBadRequest, false, "更新失败"} |
| | | DelSuccess = &Code{http.StatusOK,true,"删除成功"} |
| | | // RequestParamError 请求参数错误 |
| | | RequestParamError = &Code{http.StatusBadRequest, false, "请求参数有误"} |
| | |
| | | TaskStoped = &Code{http.StatusOK, false, "此任务为停用状态,请在任务管理中开启!"} |
| | | |
| | | 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, "加入节点失败!"} |
| | | ) |