From 607c9bdbb6e4c5ec5d35cf540a07447f73493c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=BB=E4=BD=B3=E9=91=AB?= Date: Tue, 21 Mar 2023 21:24:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=87=A0=E4=B8=AA?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- constant/error.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/constant/error.go b/constant/error.go index 56b0183..e004efa 100644 --- a/constant/error.go +++ b/constant/error.go @@ -30,6 +30,7 @@ const ( UnknowError = 30003 // 未知错误 UnknowOwner = 30004 // 不是球馆管理员返回码 InfoNotMatch = 30005 // 信息不匹配 + ModelIsExist = 30006 // 该类型已存在 ) // 返回4xxxx -> json错误 @@ -42,4 +43,6 @@ const ( const ( HTTPDoReqError = 80000 HTTPNewReqError = 80001 + HTTPGetError = 80002 + HTTPPostError = 80003 )