This commit is contained in:
Liang Ding 2022-12-29 23:02:53 +08:00
parent 0a525c0fe3
commit 51b4f68035
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 14 additions and 5 deletions

View file

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