mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 支持基于文档复习闪卡 https://github.com/siyuan-note/siyuan/issues/7057
This commit is contained in:
parent
b7aab9d2c0
commit
58a7f35228
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ func getTreeRiffCards(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
rootID := arg["rootID"].(string)
|
||||
rootID := arg["id"].(string)
|
||||
page := int(arg["page"].(float64))
|
||||
blockIDs, total, pageCount := model.GetTreeFlashcards(rootID, page)
|
||||
ret.Data = map[string]interface{}{
|
||||
|
|
@ -55,7 +55,7 @@ func getRiffCards(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
deckID := arg["deckID"].(string)
|
||||
deckID := arg["id"].(string)
|
||||
page := int(arg["page"].(float64))
|
||||
blockIDs, total, pageCount := model.GetFlashcards(deckID, page)
|
||||
ret.Data = map[string]interface{}{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue