This commit is contained in:
Liang Ding 2022-12-21 20:11:12 +08:00
parent acfe78a1d2
commit 1c4c0c5192
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 19 additions and 0 deletions

View file

@ -122,3 +122,11 @@ func createRiffDeck(c *gin.Context) {
return
}
}
func getRiffDecks(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
decks := model.GetDecks()
ret.Data = decks
}