From 4581b219706c62d415e09dd3d57a4b320e6422da Mon Sep 17 00:00:00 2001 From: "DESKTOP-4RNDQIC\\29019" <290198252@qq.com> Date: Sun, 18 Jul 2021 00:12:07 +0800 Subject: [PATCH] no message --- controller/plan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/plan.go b/controller/plan.go index 9f308a4..ec5a784 100644 --- a/controller/plan.go +++ b/controller/plan.go @@ -191,7 +191,7 @@ func (this *PlanController) FinishUndo(c *gin.Context) { id := c.Param("id") log.Print("finish undo id",id) - e := db.GetOrm().Exec(fmt.Sprintf("update undo set done = 1,finish_time='%s' where id = %d", + e := db.GetOrm().Exec(fmt.Sprintf("update background.`undo` set done = 1,finish_time='%s' where id = %d", time.Now().Format("2006-01-02 15:04:05"),1)).Error log.Print(fmt.Sprintf("update undo set done = 1,finish_time='%s' where id = %d",time.Now().Format("2006-01-02 15:04:05"),1)) if nil != e {