sunty
2020-08-20 9303b69ea569bcb5e581147543a3fd58e90d0d25
extend/code/code.go
@@ -14,7 +14,7 @@
   // Success 请求处理成功
   Success       = &Code{http.StatusOK, true, "请求处理成功"}
   AddSuccess    = &Code{http.StatusOK, true, "添加成功"}
   UploadSuccess = &Code{ http.StatusOK, true, "上传成功"}
   UploadSuccess = &Code{http.StatusOK, true, "上传成功"}
   UpdateSuccess = &Code{http.StatusOK, true, "更新成功"}
   UpdateFail    = &Code{http.StatusBadRequest, false, "更新失败"}
   DelSuccess    = &Code{http.StatusOK, true, "删除成功"}
@@ -70,4 +70,5 @@
   UpgradeSuccess = &Code{http.StatusOK, true, "升级成功"}
   UpgradeFail    = &Code{http.StatusInternalServerError, false, "升级失败"}
   FailedQuery    = &Code{http.StatusInternalServerError, false, "查询失败"}
)