no message
parent
6ddaeaa759
commit
13f3369b12
|
@ -243,7 +243,7 @@ func (this *PlanController) GetUndo(c *gin.Context) {
|
|||
c.JSON(200, resp)
|
||||
}()
|
||||
undos := []model.Undo{}
|
||||
e := db.GetOrm().Model(&model.Undo{}).Where("done = 0").Find(&undos).Error
|
||||
e := db.GetOrm().Model(&model.Undo{}).Find(&undos).Error
|
||||
if nil != e {
|
||||
log.Print(e.Error())
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue