This commit is contained in:
Liang Ding 2023-02-19 00:16:07 +08:00
parent b7aab9d2c0
commit 58a7f35228
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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{}{