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/6943
This commit is contained in:
parent
0a525c0fe3
commit
51b4f68035
2 changed files with 14 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ func getRiffCards(c *gin.Context) {
|
|||
page := int(arg["page"].(float64))
|
||||
blockIDs, total, pageCount := model.GetFlashcards(deckID, page)
|
||||
ret.Data = map[string]interface{}{
|
||||
"blockIDs": blockIDs,
|
||||
"blocks": blockIDs,
|
||||
"total": total,
|
||||
"pageCount": pageCount,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue