From 1e1dd69eecc96cd085f1a20f2adf8f5cd7ec8f00 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Thu, 21 Nov 2024 17:34:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=86=20=20=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E9=A2=98=E7=9B=AE=E5=85=B3=E8=81=94=E7=9A=84=E9=A2=98?= =?UTF-8?q?=E5=BA=93=E6=95=B0=E9=87=8F=E6=98=AF=E5=90=A6=E5=85=85=E8=B6=B3?= =?UTF-8?q?-=E5=87=8F=E5=8E=BB=E5=AF=B9=E5=BA=94=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E5=90=8E1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controller/question.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controller/question.go b/api/controller/question.go index d546f28..f29a8ef 100644 --- a/api/controller/question.go +++ b/api/controller/question.go @@ -267,7 +267,7 @@ func (b *Question) PutQuestionStatus(c *gin.Context) { return } - //tx.Commit() + tx.Commit() responses.Ok(c) }