extend/code/code.go
@@ -14,6 +14,7 @@ // Success 请求处理成功 Success = &Code{http.StatusOK, true, "请求处理成功"} AddSuccess = &Code{http.StatusOK, true, "添加成功"} UploadSuccess = &Code{ http.StatusOK, true, "上传成功"} UpdateSuccess = &Code{http.StatusOK, true, "更新成功"} UpdateFail = &Code{http.StatusBadRequest, false, "更新失败"} DelSuccess = &Code{http.StatusOK, true, "删除成功"}