From 5104e22cc98a2131ed0e36a90631838682cbdcdc Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 18 Dec 2023 10:41:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=B1=8F=E8=94=BD=E7=8E=A9?= =?UTF-8?q?=E5=AE=B6=E6=8A=80=E8=83=BD=E5=8D=A1=E5=B8=A6=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/entertainment/api_match.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/entertainment/api_match.go b/modules/entertainment/api_match.go index dc906ff2a..776aac162 100644 --- a/modules/entertainment/api_match.go +++ b/modules/entertainment/api_match.go @@ -8,7 +8,7 @@ import ( //参数校验 func (this *apiComp) MatchCheck(session comm.IUserSession, req *pb.EntertainMatchReq) (errdata *pb.ErrorData) { - if req.Idcard == "" || len(req.Skillcard) != 2 { + if req.Idcard == "" { errdata = &pb.ErrorData{ Code: pb.ErrorCode_ReqParameterError, Title: pb.ErrorCode_ReqParameterError.ToString(),