From 2bccdd76da9afabd1af9f1a640c083d9881fb17f Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 09 六月 2020 14:56:09 +0800 Subject: [PATCH] add swagger --- 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 68c4b24..3e18ab7 100644 --- a/extend/code/code.go +++ b/extend/code/code.go @@ -14,6 +14,7 @@ // Success 璇锋眰澶勭悊鎴愬姛 Success = &Code{http.StatusOK, true, "璇锋眰澶勭悊鎴愬姛"} AddSuccess = &Code{http.StatusOK, true, "娣诲姞鎴愬姛"} + UploadSuccess = &Code{ http.StatusOK, true, "涓婁紶鎴愬姛"} UpdateSuccess = &Code{http.StatusOK, true, "鏇存柊鎴愬姛"} UpdateFail = &Code{http.StatusBadRequest, false, "鏇存柊澶辫触"} DelSuccess = &Code{http.StatusOK, true, "鍒犻櫎鎴愬姛"} -- Gitblit v1.8.0