refactor: 移除二次元识别功能,增强 NSFW 检测

This commit is contained in:
2025-07-12 21:04:52 +08:00
parent 2778393e9d
commit f589592535
17 changed files with 43 additions and 12217 deletions
-6
View File
@@ -38,12 +38,6 @@ func NewRouter(st *store.Store) *gin.Engine {
apiGroup.GET("/nsfw/list", nc.List)
apiGroup.GET("/nsfw/preview", nc.Preview)
// 二次元识别(查看分级结果 + 图片预览 + 标签详情)
hc := NewHentaiController(st)
apiGroup.GET("/hentai/list", hc.List)
apiGroup.GET("/hentai/preview", hc.Preview)
apiGroup.GET("/hentai/tags", hc.Tags)
// 扫描整理(开始 / 中止 / 查进度 / 实时进度)
sc := NewScanController(service.NewScanService(st))
apiGroup.POST("/scan/start", sc.Start)