From 9298b8b7228af9c07872b41bffc894a6d9dd4e59 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 29 八月 2019 14:12:27 +0800 Subject: [PATCH] add UpdateFace --- extend/code/code.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/extend/code/code.go b/extend/code/code.go index 93a4341..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, "璇锋眰鍙傛暟鏈夎"} -- Gitblit v1.8.0