liuxiaolong
2020-03-12 0b9ca450395615bcc4cfcb76c605f7f430f1c81e
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, "删除成功"}