no message
parent
6ddaeaa759
commit
13f3369b12
|
@ -243,7 +243,7 @@ func (this *PlanController) GetUndo(c *gin.Context) {
|
||||||
c.JSON(200, resp)
|
c.JSON(200, resp)
|
||||||
}()
|
}()
|
||||||
undos := []model.Undo{}
|
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 {
|
if nil != e {
|
||||||
log.Print(e.Error())
|
log.Print(e.Error())
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue