liuxiaolong
2020-05-29 0bb9a4c37862e5098a596e121fb13fd12c2ca44f
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, "删除成功"}