This commit is contained in:
Liang Ding 2023-02-18 23:16:31 +08:00
parent 26e62e1eda
commit f552b17f53
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 7 additions and 22 deletions

View file

@ -76,13 +76,6 @@ func getTreeRiffDueCards(c *gin.Context) {
}
rootID := arg["rootID"].(string)
err := model.AddTreeFlashcards(rootID)
if nil != err {
ret.Code = -1
ret.Msg = err.Error()
return
}
cards, err := model.GetTreeDueFlashcards(rootID)
if nil != err {
ret.Code = -1