diff --git a/models/wck.go b/models/wck.go index 57252c2..f7700d3 100644 --- a/models/wck.go +++ b/models/wck.go @@ -23,7 +23,7 @@ type AutoGenerated struct { } func getSign() *AutoGenerated { - data, _ := httplib.Get("https://pan.smxy.xyz/sign").Header("user-agent", "ApiPOST Runtime +https://www.apipost.cn").Bytes() + data, _ := httplib.Get("https://pan.smxy.xyz/sign").SetUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36").Bytes() t := &AutoGenerated{} json.Unmarshal(data, t) logs.Info(t.Sign)