|
@@ -7,7 +7,6 @@ import (
|
|
|
"github.com/allanpk716/ChineseSubFinder/internal/logic/sub_supplier/xunlei"
|
|
|
"github.com/allanpk716/ChineseSubFinder/internal/logic/sub_supplier/zimuku"
|
|
|
"github.com/allanpk716/ChineseSubFinder/internal/pkg/settings"
|
|
|
- "github.com/allanpk716/ChineseSubFinder/internal/types/backend"
|
|
|
"github.com/gin-gonic/gin"
|
|
|
"github.com/huandu/go-clone"
|
|
|
"net/http"
|
|
@@ -20,12 +19,6 @@ func (cb ControllerBase) CheckProxyHandler(c *gin.Context) {
|
|
|
cb.ErrorProcess(c, "CheckProxyHandler", err)
|
|
|
}()
|
|
|
|
|
|
- reqCheckProxy := backend.ReqCheckProxy{}
|
|
|
- err = c.ShouldBindJSON(&reqCheckProxy)
|
|
|
- if err != nil {
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
tmpSettings := clone.Clone(*settings.GetSettings()).(settings.Settings)
|
|
|
|
|
|
// 使用提交过来的这个代理地址,测试多个字幕网站的可用性
|