no message

master
DESKTOP-4RNDQIC\29019 2021-06-12 20:32:42 +08:00
parent 6ddaeaa759
commit 13f3369b12
1 changed files with 1 additions and 1 deletions

View File

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