From da99edba7d05f757368b760043526e919d7f19ca Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期一, 16 九月 2019 16:14:13 +0800
Subject: [PATCH] config.Init

---
 extend/code/code.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/extend/code/code.go b/extend/code/code.go
index 0a5380d..e5e79c2 100644
--- a/extend/code/code.go
+++ b/extend/code/code.go
@@ -14,6 +14,7 @@
 	Success = &Code{http.StatusOK, true, "璇锋眰澶勭悊鎴愬姛"}
 	AddSuccess = &Code{http.StatusOK,true,"娣诲姞鎴愬姛"}
 	UpdateSuccess = &Code{http.StatusOK,true,"鏇存柊鎴愬姛"}
+	UpdateFail = &Code{http.StatusBadRequest,false,"鏇存柊澶辫触"}
 	DelSuccess = &Code{http.StatusOK,true,"鍒犻櫎鎴愬姛"}
 	// RequestParamError 璇锋眰鍙傛暟閿欒
 	RequestParamError = &Code{http.StatusBadRequest, false, "璇锋眰鍙傛暟鏈夎"}
@@ -57,4 +58,5 @@
 	TaskStoped = &Code{http.StatusOK, false, "姝や换鍔′负鍋滅敤鐘舵�侊紝璇峰湪浠诲姟绠$悊涓紑鍚紒"}
 
 	ComError = &Code{http.StatusInternalServerError, false, ""}
+	ClusterNodesEmpty = &Code{http.StatusOK, true, "闆嗙兢鑺傜偣涓虹┖"}
 )

--
Gitblit v1.8.0