refactor: 移除二次元识别功能,增强 NSFW 检测
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user