fix: delete ListLatest(func)

This commit is contained in:
Leon
2025-12-07 21:22:54 +08:00
parent 8dcc13957b
commit 3b80a7c5da
4 changed files with 0 additions and 31 deletions

View File

@@ -81,15 +81,6 @@ func (vh *VideoHandler) ListByAuthorID(c *gin.Context) {
c.JSON(200, videos)
}
func (vh *VideoHandler) ListLatest(c *gin.Context) {
videos, err := vh.service.ListLatest(c)
if err != nil {
c.JSON(400, gin.H{"error": err.Error()})
return
}
c.JSON(200, videos)
}
func (vh *VideoHandler) GetDetail(c *gin.Context) {
var req GetDetailRequest
if err := c.ShouldBindJSON(&req); err != nil {