From c2f8c24f1ddb67f890f9ac4af5328e65a46aab75 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 20 十二月 2019 16:35:46 +0800 Subject: [PATCH] test --- extend/code/code.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/extend/code/code.go b/extend/code/code.go index da54881..4e7ef5a 100644 --- a/extend/code/code.go +++ b/extend/code/code.go @@ -10,6 +10,7 @@ } var ( + LicenseExpired = &Code{http.StatusForbidden, false, "license expired"} // Success 璇锋眰澶勭悊鎴愬姛 Success = &Code{http.StatusOK, true, "璇锋眰澶勭悊鎴愬姛"} AddSuccess = &Code{http.StatusOK, true, "娣诲姞鎴愬姛"} @@ -64,4 +65,7 @@ CreateFirstNodeErr = &Code{http.StatusInternalServerError, false, "鍒涘缓鑺傜偣澶辫触锛�"} QueryClusterInfoErr = &Code{http.StatusInternalServerError, false, "鏌ヨ澶辫触锛岃纭鎮ㄧ殑ip鏄纭殑锛�"} AddClusterInfoErr = &Code{http.StatusInternalServerError, false, "鍔犲叆鑺傜偣澶辫触锛�"} + + UpgradeSuccess = &Code{http.StatusOK, true, "鍗囩骇鎴愬姛"} + UpgradeFail = &Code{http.StatusInternalServerError, false, "鍗囩骇澶辫触"} ) -- Gitblit v1.8.0