This commit is contained in:
Liang Ding 2022-12-21 22:53:14 +08:00
parent b3dd88e66a
commit afedf85a5d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -147,5 +147,8 @@ func getRiffDecks(c *gin.Context) {
"name": deck.Name, "name": deck.Name,
}) })
} }
if 1 > len(data) {
data = []interface{}{}
}
ret.Data = data ret.Data = data
} }