| | |
| | | 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, "集群节点为空"} |
| | | ) |