From 04641bfc9782574f3fc36fa16dac636bd678dfe3 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Sat, 12 Oct 2024 17:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E7=AD=BE124?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/service/Question.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/service/Question.go b/api/service/Question.go index 0fef1f1..5478506 100644 --- a/api/service/Question.go +++ b/api/service/Question.go @@ -497,7 +497,7 @@ func (r *QuestionService) PutQuestion(questionId int64, req requests.PutQuestion return false, errors.New(err.Error()) } - //tx.Commit() + tx.Commit() return true, nil }