From cecfe3aafb8424e74b6b4fab0f212c88f025af18 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 13 十二月 2019 18:16:11 +0800 Subject: [PATCH] getDevInfo ret CutVideoLen --- 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 44ec884..3ef6457 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, "娣诲姞鎴愬姛"} @@ -19,7 +20,7 @@ // RequestParamError 璇锋眰鍙傛暟閿欒 RequestParamError = &Code{http.StatusBadRequest, false, "璇锋眰鍙傛暟鏈夎"} // AccountPassUnmatch 璇ヨ处鍙峰師瀵嗙爜涓嶅尮閰� - AccountPassUnmatch = &Code{http.StatusBadRequest, false, "璇ヨ处鍙峰師瀵嗙爜涓嶅尮閰�"} + AccountPassUnmatch = &Code{http.StatusOK, false, "璇ヨ处鍙峰師瀵嗙爜涓嶅尮閰�"} // SignupPassUnmatch 娉ㄥ唽涓ゆ杈撳叆瀵嗙爜涓嶅尮閰� SignupPassUnmatch = &Code{http.StatusBadRequest, false, "娉ㄥ唽涓ゆ杈撳叆瀵嗙爜涓嶅尮閰�"} // AccountNameExist 璐﹀彿鏄电О閲嶅锛岃鏇存崲涓哄叾浠栨樀绉� -- Gitblit v1.8.0