This commit is contained in:
toom1996
2026-09-13 21:38:32 +08:00
parent 580697f17a
commit 0185ecd0df
6 changed files with 60 additions and 8 deletions

View File

@ -141,7 +141,6 @@ func New(opt Options) *gin.Engine {
legacy.GET("/favorites", opt.Favorite.List)
legacy.POST("/favorites", opt.Favorite.Add)
legacy.DELETE("/favorites/:uid", opt.Favorite.Remove)
legacy.POST("/favorites/check", opt.Favorite.Check)
legacy.GET("/history", opt.History.List)
legacy.POST("/history", opt.History.Record)