feat(thunderx,pikpak): add offline download support for ThunderX; add ctx to specific PikPak functions (#879)

* feat(thunderx,pikpak): add offline download support for ThunderX; add ctx to specific PikPak functions

* Update internal/offline_download/tool/download.go

Co-authored-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: 花月喵梦 <152958106+nekohy@users.noreply.github.com>

---------

Signed-off-by: 花月喵梦 <152958106+nekohy@users.noreply.github.com>
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top>
This commit is contained in:
花月喵梦
2025-07-29 09:46:28 +08:00
committed by GitHub
parent be1ad08a83
commit e0b3a611ba
12 changed files with 441 additions and 10 deletions

View File

@@ -150,6 +150,7 @@ func admin(g *gin.RouterGroup) {
setting.POST("/set_115_open", handles.Set115Open)
setting.POST("/set_pikpak", handles.SetPikPak)
setting.POST("/set_thunder", handles.SetThunder)
setting.POST("/set_thunderx", handles.SetThunderX)
setting.POST("/set_thunder_browser", handles.SetThunderBrowser)
// retain /admin/task API to ensure compatibility with legacy automation scripts