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(),