From cffc27faf93dcdd41256b00448d6a0300d4d20a3 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Thu, 31 Oct 2024 10:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=A2=98=E7=9B=AE=E6=97=B6=E5=9B=BE=E7=89=87=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/service/Question.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/service/Question.go b/api/service/Question.go index db57570..38deb2e 100644 --- a/api/service/Question.go +++ b/api/service/Question.go @@ -489,6 +489,8 @@ func (r *QuestionService) PutQuestion(questionId int64, req requests.PutQuestion } questionData["question_image"] = strings.Join(result, ",") + } else { + questionData["question_image"] = nil } // 答案