no message
parent
b64e0f9147
commit
4581b21970
|
@ -191,7 +191,7 @@ func (this *PlanController) FinishUndo(c *gin.Context) {
|
||||||
id := c.Param("id")
|
id := c.Param("id")
|
||||||
log.Print("finish undo id",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
|
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))
|
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 {
|
if nil != e {
|
||||||
|
|
Loading…
Reference in New Issue