feat: 媒体库添加手动色情标记功能,默认分页改为10条

This commit is contained in:
2025-08-15 21:18:20 +08:00
parent 925ee5b1ea
commit 367240133f
4 changed files with 58 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ func NewRouter(st *store.Store) *gin.Engine {
apiGroup.POST("/media/list", mc.List)
apiGroup.POST("/media/stats", mc.Stats)
apiGroup.GET("/media/preview", mc.Preview)
apiGroup.PUT("/media/:id/manual-nsfw", mc.UpdateManualNsfw)
// 扫描整理(开始 / 中止 / 移动 / 查进度 / 实时进度)
sc := NewScanController(service.NewScanService(st))