mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 支持基于文档复习闪卡 https://github.com/siyuan-note/siyuan/issues/7057
This commit is contained in:
parent
26e62e1eda
commit
f552b17f53
2 changed files with 7 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue