liuxiaolong
2020-06-05 cb4766eb80edbb1f264b46a0da577d57f8d12a8f
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, "删除成功"}