mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
6e150727d8
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