From 9303b69ea569bcb5e581147543a3fd58e90d0d25 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期四, 20 八月 2020 20:05:23 +0800 Subject: [PATCH] add get buckets contrl --- extend/code/code.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/extend/code/code.go b/extend/code/code.go index 3e18ab7..f0c08c4 100644 --- a/extend/code/code.go +++ b/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, "鏌ヨ澶辫触"} ) -- Gitblit v1.8.0