feat: add carousel support and ribenyan crawler
This commit is contained in:
@@ -47,6 +47,8 @@ func SetupRoutes(r *gin.Engine) {
|
||||
{
|
||||
articles.GET("", articleHandler.List)
|
||||
articles.GET("/:id", articleHandler.GetByID)
|
||||
// 采集 API(管理员权限)
|
||||
articles.POST("/crawl-ribenyan", articleHandler.CrawlRibenyan)
|
||||
}
|
||||
|
||||
api.GET("/categories", categoryHandler.List)
|
||||
|
||||
Reference in New Issue
Block a user