add parse tv & movie api

This commit is contained in:
Simon Ding
2024-07-27 23:42:06 +08:00
parent b19938f2df
commit e73ae86801
3 changed files with 5 additions and 3 deletions

View File

@@ -69,6 +69,8 @@ func (s *Server) Serve() error {
setting.GET("/auth", HttpHandler(s.GetAuthSetting))
setting.GET("/logfiles", HttpHandler(s.GetAllLogs))
setting.GET("/about", HttpHandler(s.About))
setting.POST("/parse/tv", HttpHandler(s.ParseTv))
setting.POST("/parse/movie", HttpHandler(s.ParseMovie))
}
activity := api.Group("/activity")
{