no message

master
DESKTOP-4RNDQIC\29019 2021-07-18 00:12:07 +08:00
parent b64e0f9147
commit 4581b21970
1 changed files with 1 additions and 1 deletions

View File

@ -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 {