From 4f2bbf2bcef0996ef1cd8a4ad0f1bced8f147361 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Thu, 21 Nov 2024 16:16:26 +0800 Subject: [PATCH] 1 --- api/service/QuestionQa.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/service/QuestionQa.go b/api/service/QuestionQa.go index 358dbad..b40ea3c 100644 --- a/api/service/QuestionQa.go +++ b/api/service/QuestionQa.go @@ -1270,9 +1270,9 @@ func (r *QuestionQaService) GetShareQuestionQaForTypeThree(questionQa *model.Que shareDtoForThree.Single = shareDtoForTwo } else if v2.QuestionType == 2 { shareDtoForThree.Multiple = shareDtoForTwo - } else if v2.QuestionType == 3 { - shareDtoForThree.Judge = shareDtoForTwo } else if v2.QuestionType == 4 { + shareDtoForThree.Judge = shareDtoForTwo + } else if v2.QuestionType == 3 { shareDtoForThree.Qa = shareDtoForTwo } else { return g, errors.New("内部错误")