liuxiaolong
2020-05-08 416e51cb7c3f20720cec26fe6458dcc5f1655c94
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, "删除成功"}